This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]