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]
Other format: [Raw text]

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


> 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


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