[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] identity transform - include CDATA's, etc


Subject: Re: [xsl] identity transform - include CDATA's, etc
From: "Abie Hamaoui" <ahama5@xxxxxxxxxxx>
Date: Wed, 09 Jul 2003 23:29:43 +0000

 ok, but these 2 lines are not identical to
 <a>b</a>

quite.

am I quite right or quite wrong?


conversely when the serialiser is outputting the content of an element
that contains the character , it needs to do it in such a way that an
XML parser reports a < it can do it how it likes
&lt; &#60; <![CDATA[<]]> they are all equivalent, and the system usually
chooses the same one irrespective of how the character was entered.

you mention 3 ways the serializer could output this element. my question is could it also output it as '<' itself, or is there something preventing this? ie wouldn't an XML parser report '<' in the same way it would report &lt;, or is that the point here - that it would report these differently?


thanks for your attention.
abie

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list




Current Thread
Keywords
xml