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

RE: Html tags as part of XML elements rendered as text

Subject: RE: Html tags as part of XML elements rendered as text
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 14 Jul 2000 09:19:39 +0100
RE: Html tags as part of XML elements rendered as text
>    <text>&lt;font face=helvetica size=2>&lt;b>this thing
> costs&lt;/b>&lt;br>$219.00&lt;/font></text>
> 
> <xsl:value-of select="text"/>
> 
> I need to have <text> rendered as it looks like it should, as 
> HTML with the <font> and other elements used
> in the resultant rendered HTML.

This isn't how I would design the XML source, but it you must do it like
this (I corrected what I assume is a typo), you can output it using 

<xsl:value-of select="text" disable-output-escaping="yes"/>

Mike Kay


 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.