This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: cdata output and different xslt processors


> > Saxon does indeed pass the contents of the CDATA section to the
> > application
> > "as-is".
>
>
> but it does not leave it "as-is", it escapes the "<" and ">".

If you have "<" in a CDATA section, then what the application sees is a "<"
character. On serialization to XML, this will appear as "&lt;", to ensure
that any application processing the XML again sees it as a "<" character. In
other words, the processing is all designed to ensure that the "<" remains a
less-than symbol and is never misinterpreted as markup.

Mike Kay


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]