[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: disabling output escaping within an xsl attribute
> Palm VII Web Clipping Applications do not understand the & character > representation in a URL. Then any workaround you use to produce bad HTML should be accompanied by a bug report to the people who make Palm VII Web Clipping Applications. > I cannot seem to get disable-output-escaping to work within an xsl:attribute. I > can get it to work for non-attributes. What am I doing wrong ? > <xsl:attribute name="href"> > <xsl:value-of disable-output-escaping="yes" > select="string('http://www.dot.com/service?foo=1&bar=2')" /> > </xsl:attribute> string() isn't necessary, but shouldn't affect the result. You're not doing anything wrong. My guess is that disable-output-escaping applies only to text nodes, according to the spec. - Mike ____________________________________________________________________ Mike J. Brown, software engineer at My XML/XSL resources: webb.net in Denver, Colorado, USA http://www.skew.org/xml/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|