xsl-list
[Top] [All Lists]

RE: Testing for CDATA

2004-03-08 18:56:11
Thanks, 

Im sure I checked the dpawson site b4 posting...

Not thouroughly enough obviously.

Thanks again.



From http://www.dpawson.co.uk/xsl/sect2/cdata.html#d2421e192

3.  How to test for a CDATA section
 
 Mike Kay

No, text in a CDATA section looks exactly the same to the 
XSLT processor as text outside a CDATA section. For example, 

<![CDATA[xxx]]> looks exactly like xxx
<![CDATA[<>]]> looks exactly like &lt;&gt;

This is because they are intended to be equivalent ways of 
writing the same thing. 

Josh



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



<Prev in Thread] Current Thread [Next in Thread>