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

Re: [xsl] How to match a cdata section


Subject: Re: [xsl] How to match a cdata section
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 6 Sep 2001 12:09:45 +0100

> I have a cdata section at the xml file

you can't. CDADA is just a flag to the parser to treat < and & as
non-special, so to XPath <![CDATA[hello: 1 < 2]]> produces _exactly_ the
same input as hello: 1 &lt; 2

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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



Current Thread
Keywords