This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
how do you get non-xhtml data through the XSL processor?
- To: xsl-list at mulberrytech dot com
- Subject: how do you get non-xhtml data through the XSL processor?
- From: Evan Eustace <evan at eustace dot net>
- Date: Thu, 16 Mar 2000 18:30:19 -0500
- Reply-To: xsl-list at mulberrytech dot com
We allow users to put chunks of HTML in the database, we call these
chunks wildcards.
In our XSLT stylesheet we want to be able to output those chunks as-is
to the output document.
In my XML source document I have will non-xhtml formatted html inside
CDATA tags:
<wildcard>
<![CDATA[
<br><br>
not-well-formed html
<br><br>
]]>
</wildcard>
but now when I do this:
<xsl:value-of select="wildcard"/>
the output has all of the angle brackets/chevrons, whatever you want to
call them in the HTML, formatted as entity chars like:
< >
so the above is output as:
<br><br>
not-well-formed html
<br><br>
When i remove the CDATA, and make the HTML well-formed, I get the same
problem.
The output of the processor is set to HTML.
Help !?! Anyone?
Thanks,
-Evan
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list