RE: [xsl] CDATA Question

Subject: RE: [xsl] CDATA Question
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 4 Oct 2001 00:11:06 +0100
> 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


Current Thread