RE: [xsl] xsl:val-of in xsl:text (escaping issue)

Subject: RE: [xsl] xsl:val-of in xsl:text (escaping issue)
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Wed, 28 Nov 2001 20:43:38 -0000
> 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


Current Thread