[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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
html diable output escaping
<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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.