Re: [xsl] disable-output-escaping="yes"

Subject: Re: [xsl] disable-output-escaping="yes"
From: Mike Brown <mike@xxxxxxxx>
Date: Wed, 12 Mar 2003 12:10:15 -0700 (MST)
ani@xxxxxxxxxxxxx wrote:
> Hi:
> I can use d-o-e in xsl:value-of 
> <xsl:value-of select="@URLMessageId" disable-output-escaping="yes"/>
> but when usin {} ....
> <a href="javascript:popupid('{@URLMessageId}');">link</a>
> is there any way? or should it be done using xsl:attribute?

XSLT 1.0 does not support d-o-e for attribute values, no matter how you try it.
Some XSLT processors may have extensions for this purpose; e.g. Saxon has one.

You probably do not really need d-o-e. I hope you are not asking the weekly
FAQ about "&" in an attribute value... (the answer is: "&" is incorrect and
just happens to be tolerated by most browsers, while "&amp;" is correct and
works in all browsers)

Mike

-- 
  Mike J. Brown   |  http://skew.org/~mike/resume/
  Denver, CO, USA |  http://skew.org/xml/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread