Click to See Complete Forum and Search --> : displaying non-valid text using XSL


Tony Costa
August 2nd, 2001, 06:44 PM
I have some xml elements that contain characters and tags that xsl does not like. (The content for these elements is submitted by users and they tend to use unclosed html tags like <br> and characters xsl chokes on, namely & signs.) My question is how do I get xsl to display the contents of these xml elements without parsing or checking or validating it. I want it to just spit out the text as raw characters.

What I would like to do is something like this: <![CDATA[<xsl:element value-of="SomeElement"/>]]> But obviously this does not work.

Any ideas?

Tony