This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: how do you get non-xhtml data through the XSL processor?
- To: <xsl-list at mulberrytech dot com>
- Subject: Re: how do you get non-xhtml data through the XSL processor?
- From: "Steve Muench" <smuench at us dot oracle dot com>
- Date: Thu, 16 Mar 2000 16:35:46 -0800
- References: <38D16E8B.C726411E@eustace.net>
- Reply-To: xsl-list at mulberrytech dot com
<xsl:value-of diable-output-escaping="yes" select="wildcard"/>
should do the trick.
______________________________________________________________
Steve Muench, Lead XML Evangelist & Consulting Product Manager
Business Components for Java Dev't Team, Oracle Corporation
----- Original Message -----
From: "Evan Eustace" <evan@eustace.net>
To: <xsl-list@mulberrytech.com>
Sent: Thursday, March 16, 2000 3:30 PM
Subject: how do you get non-xhtml data through the XSL processor?
| 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
|
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list