Altova Mailing List Archives

RE: [xsl] CDATA and copy-of

From: "Michael Kay" <michael.h.kay@------------>
Date: 11/29/2001 6:44:00 AM
> 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:


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.