xsl-list
[Top] [All Lists]

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

2003-05-09 11:50:48
Thankx for the answer Sundar
 but i will get this HTML data Dynamically and will add this As an XML node
on server using ASP. cannot set it in XSL

Any other suggestion ?
Qazi
----- Original Message -----
From: "Sundar Shanmugasundaram" <SSHANMUGASUNDARAM(_at_)selectica(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Thursday, May 08, 2003 11:24 PM
Subject: RE: [xsl] how to display html data, coming in a node


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




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list