xsl-list
[Top] [All Lists]

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

2003-05-08 23:24:42
Asim,

Instead you could try giving the same data in XSL file as  within <xsl:text>


        <xsl:text
disable-output-escaping="yes"><![CDATA[<html><body><br>sundar<b>a
    <p>
    <br>
    Raman 
    <b>skksks
    </b>
    </body>
    </html>]]></xsl:text>

<xsl:text disable-output-escaping="yes"><![CDATA[All not wellformed data
]]></xsl:text>

Is this ok?

sundar

-----Original Message-----
From: asim [mailto:qazi(_at_)advcomm(_dot_)net]
Sent: Friday, May 09, 2003 11:40 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] 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