This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: CDATA and copy-of
- From: "Clark, Jason" <jason dot clark at tfn dot com>
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 29 Nov 2001 12:39:05 -0500
- Subject: RE: [xsl] CDATA and copy-of
- Reply-to: xsl-list at lists dot mulberrytech dot com
thx mike.
-----Original Message-----
From: Michael Kay [mailto:michael.h.kay@ntlworld.com]
Sent: Thursday, November 29, 2001 11:43 AM
To: xsl-list@lists.mulberrytech.com
Subject: RE: [xsl] CDATA and copy-of
> I have an element that has html within a CDATA. I'm using
> copy-of to output
> the html from the CADTA section. When I do this the HTML
> tags are displayed
> not rendered. What am I missing or don't understand?
What you haven't understood is that the purpose of CDATA is to say "don't
treat the stuff in here as markup, even if it looks like markup". You've
said it isn't markup, and the system is taking you at your word.
Fortunately if you change your mind and decide it is markup after all, you
can use disable-output-escaping to tell the system of the fact.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list