[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: 'Problems getting '&' output instead of '&'.
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Mike Brown > Sent: Monday, January 06, 2003 8:58 PM > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Re: 'Problems getting '&' output instead of '&'. > > > ... > > Your sample XML indicates that you're using script attributes like > onClick. An XSLT processor, when serializing the result tree with the > html output method, should be leaving script attributes and elements > unescaped. Is it possible that your XSLT processor is not doing this? > This should be easy enough to verify. Interesting... Can you provide a pointer to the section in the XSLT spec where this is required? All I can see [1] is: "...The html output method should not perform escaping for the content of the script and style elements..." > Also, a don't think a bare URL is a valid onClick value. I think you > need to put it inside a function call. > > > p.s. Those with the "disable-output-escaping" chip on their shoulder > > leave the sermonizing behind. I'm doing real work in the real word > > (e.g. in much less than ideal circumstances). > > God, the irony. It is exactly those less-than-ideal circumstances (e.g., > the fact that d-o-e only works in certain situations) that make > d-o-e a less-than-practical solution, as you have just discovered. Yep. Julian [1] <http://www.w3.org/TR/xslt#section-HTML-Output-Method> -- <green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760 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
|