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

RE: how to display html data, coming in a node

Subject: RE: how to display html data, coming in a node
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 9 May 2003 08:57:26 +0100
xslt display html
So long as you only need this to display on browsers that support the
optional disable-output-escaping feature (IE does, Netscape doesn't) you
can display the HTML using disable-output-escaping="yes".

This isn't an ideal solution, because it only works in certain
environments (where the transformation is producing text output that is
then being re-parsed by the receiving application), but it's a pragmatic
approach. Better is to change the source document so that instead of
containing HTML within CDATA, it contains directly-nested XHTML.

Michael Kay

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of asim
> Sent: 09 May 2003 19:10
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  how to display html data, coming in a node 
> 
> 
> HI All
>   i m have a small problem
> let say i m making this xml packet
> 
> <data>
>     <file-content><![CDATA[ All the not well formed Html 
> readed from an html file ]]></file-content> </data>
> 
> and in my xsl i nm trying to output the html like this 
> <xsl:value-of select="//file-content"/>
> 
> but this outputs the hole HTML as a string on the browser 
> window , and the tags r visible there Is it possible to 
> output HTML contents not the tags ???
> 
> Plz HElp
> 
> 
>  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.