Subject: RE: [xsl] 'Problems getting '&' output instead of '&'. From: "Julian Reschke" <julian.reschke@xxxxxx> Date: Mon, 6 Jan 2003 22:27:27 +0100 |
> 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: [xsl] '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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] 'Problems getting '&' out, Mike Brown | Thread | Re: [xsl] 'Problems getting '&' out, Mike Brown |
RE: [xsl] Moded Templates, Lopez, William | Date | RE: [xsl] 'Problems getting '&' out, Julian Reschke |
Month |