This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: CDATA Question
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] CDATA Question
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Thu, 4 Oct 2001 00:11:06 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> In my xml I have an element that has markup inside a CDATA.
> After using
> <xsl:copy-of> it only prints the markup to the screen. Why is this?
You can't have markup inside CDATA. You can have angle brackets that
superficially look like markup, but the purpose of the CDATA is to tell the
XML parser that they aren't really markup at all. 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