This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: How to match a cdata section
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] How to match a cdata section
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Thu, 6 Sep 2001 13:29:39 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> How can I match the Cdata Section?!?
>
You can't, the XPath data model regards CDATA as merely an input shortcut,
not as an information-bearing part of the XML content. In other words,
"<![CDATA[x]]>" and "x" look exactly the same to the XSLT processor.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list