This example was hugely helpful to me when
converting xml to html because html does not follow the well-formness
rules of xml and xsl. I know that xhtml does but old browser to not
handle xhtml too well and when coding for the least common
denominator this was very helpful so I included up here. Note that
the is between both test most xsl compilers will not handle
because it is not define by default. It is also helpful when doing
html that does not comply with well-formness such-as <br> (I know
that there are other ways around the <br> problem). The most help is
when you are dealing with CDATA in your xml and do not know what
state it is in, this allows for a quick shortcut but probably is not
the best solution.
|