xsl-list
[Top] [All Lists]

Re: [xsl] Unicode character decimal representation problem when copying the XML

2010-10-13 10:50:26
Pradnya Gawade wrote:

I am trying to copy the input XML to output, so basically output
should be same as input. The problem is that the Unicode character
decimal representations get converted to corresponding characters in
the generated xml. e.g. 'número' get converted to 'número'. I
don't want this to happen. I tried lot of things related to output
method, encoding, saxon extension attributes etc but problem is not
resolved. I use SAXON 9.2 XSLT transformer. Following is my XSLT code:

Please suggest what can solve the problem.

You would need to use http://andrewjwelch.com/lexev/ to process the XML so that character references are transformed into elements and attributes your XSLT stylesheet can operate on.

--

        Martin Honnen
        http://msmvps.com/blogs/martin_honnen/

--~------------------------------------------------------------------
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>
--~--