This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xsl:val-of in xsl:text (escaping issue)
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 28 Nov 2001 20:43:38 -0000
- Subject: RE: [xsl] xsl:val-of in xsl:text (escaping issue)
- Reply-to: xsl-list at lists dot mulberrytech dot com
> Hi,
> I have an <xsl:value-of> tag that returns data from a data
> object. This data
> includes some HTML tags that I do not want escaped.
> I can't wrap an xsl:value-of in an xsl:text to disable the escaping.
> What is the solution to what I need?
xsl:value-of disable-output-escaping="yes"
is the quick fix.
The proper solution is for your data object to return a tree rather than a
marked up string.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list