[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] encoding shift_jis into an attribute


Subject: RE: [xsl] encoding shift_jis into an attribute
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 3 Jun 2004 17:20:53 +0100

> What I want is to work around this feature and get the 
> numeric character
> reference representation within an href attribute.  This may be a bad
> idea for a general web page or general URI, but makes sense in my
> application.  If I change href to anything else, it leaves the numeric
> character references, but then of course my links don't work.  I found
> references on the web that this is a feature of Saxon that 
> can be turned
> off, but I can't figure out how.
> 

There is a standard XSLT 2.0 feature on xsl:output to disable URI escaping,
which is available in Saxon 7.9. 


In Saxon 6.5.3 you can set saxon:disable-output-escaping="yes" on
xsl:attribute

See http://saxon.sourceforge.net/saxon6.5.3/extensions.html#output

Michael Kay




Current Thread
Keywords