Re: Hexadecimal character reference
Technically, decimal character references and hexadecimal character references are transparent and the same to any XML processor. Is there any problem in your chain, i.e. some XML processor, that doesn't know how to read decimal character references? If so, it's better to cure the source of the problem than to try to find some awkward workaround.
In answer to your below question: I believe you can attach a different type of XML writer to Saxon programmatically, or, if you want to do it with XSLT alone, an ugly workaround can be to process all text-nodes (and possibly attribute nodes) again in a mini pipeline. All you need to do is filter for high characters and output them in your own format (say %_A0;), which can be done with basic XSLT and XPath functions. Then you only need to use one character mapping for "%_" and you're done. This will work in any compliant XSLT 2.0 processor.
Kind regards, Abel Braaksma
On 6-6-2011 7:09, Ganesh Babu N wrote:
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