Subject: RE: cdata output and different xslt processors
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 29 Oct 2001 15:22:57 -0000
|
> > 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 "<", 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
| Current Thread |
- Re: cdata output and different xslt processors, (continued)
- Ling Kok Choon - Sun, 28 Oct 2001 21:28:46 -0500 (EST)
- Michael Kay - Mon, 29 Oct 2001 04:11:52 -0500 (EST)
- Robert Koberg - Mon, 29 Oct 2001 09:14:01 -0500 (EST)
- David Carlisle - Mon, 29 Oct 2001 09:50:16 -0500 (EST)
- Michael Kay - Mon, 29 Oct 2001 10:26:43 -0500 (EST) <=
- Robert Koberg - Mon, 29 Oct 2001 09:14:11 -0500 (EST)
- David Carlisle - Mon, 29 Oct 2001 09:42:06 -0500 (EST)
- Robert Koberg - Mon, 29 Oct 2001 09:49:40 -0500 (EST)
- David Carlisle - Mon, 29 Oct 2001 10:28:00 -0500 (EST)
|
|