This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Html tags as part of XML elements rendered as text
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Html tags as part of XML elements rendered as text
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Fri, 14 Jul 2000 09:19:39 +0100
- Reply-To: xsl-list at mulberrytech dot com
> <text><font face=helvetica size=2><b>this thing
> costs</b><br>$219.00</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