xsl-list
[Top] [All Lists]

RE: encoding shift_jis into an attribute

2004-06-03 09:20:53
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