This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: cdata?
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Sat, 17 Nov 2001 13:11:48 -0000
- Subject: RE: [xsl] cdata?
- Reply-to: xsl-list at lists dot mulberrytech dot com
> How do you access cdata in XSL? So far I've been using just '.' but it
> seems to have problems when cdata contains tags?
CDATA cannot contain tags. The purpose of CDATA is to tell the XML parser
that things like "<" are to be treated as ordinary characters, not as
markup. If you want it treated as markup, don't put it in CDATA.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list