RE: [xsl] CDATA and copy-of

Subject: RE: [xsl] CDATA and copy-of
From: "Clark, Jason" <jason.clark@xxxxxxx>
Date: Thu, 29 Nov 2001 12:39:05 -0500
thx mike.

-----Original Message-----
From: Michael Kay [mailto:michael.h.kay@xxxxxxxxxxxx]
Sent: Thursday, November 29, 2001 11:43 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
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


Current Thread