Ganesh,
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:
Dear Martin,
I am using Xalan 2.7.1 for XSLT 1.0 and Saxon 8.9b for XSLT 2.0 on
Windows. Is there any extension function in either of the processor to
achieve the above result?
Is there any processor which provides the above result with extension functions?
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--