This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: CDATA Question


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]