Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Showing escaped html withXML/ XSLT

Status
Not open for further replies.

remco5897

Technical User
Oct 27, 2001
48
NL
Hi,

Can anybody help me along?

I have a XML file which needs to be transformed to HTML.
There is 1 tag which contains escaped HTML code:

<text>
&lt;body bgcolor="#AAFAFE"&gt;
&lt;center&gt;You are not logged in&lt;/center&gt;&lt;br&gt;

etc..
</text>


I would like the contents of this tag to be parsed as HTML, how do I do this?

Your help is greatly appreciated.

remco
 
<xsl:value-of select="text" disable-output-escaping="yes" />
 
Thnx for the reply ... I eventually find out from another forum. Nevertheless: thnx!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top