Re: how do you get non-xhtml data through the XSL processor?

Subject: Re: how do you get non-xhtml data through the XSL processor?
From: "Steve Muench" <smuench@xxxxxxxxxxxxx>
Date: Thu, 16 Mar 2000 16:35:46 -0800
<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@xxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxx>
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:
| &lt; &gt;
| 
| so the above is output as:
| 
| &lt;br&gt;&lt;br&gt;
| not-well-formed html
| &lt;br&gt;&lt;br&gt;
| 
| 
| 
| 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


Current Thread