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

RE: Testing for CDATA


Subject: RE: Testing for CDATA
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 7 Aug 2000 20:41:18 +0100

> Is there a way to test for a CDATA section?

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.

Mike Kay 


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



Current Thread
Keywords