Subject: Re: [xsl] Unicode character decimal representation problem when copying the XML From: Pradnya Gawade <pradnya.gawade7@xxxxxxxxx> Date: Wed, 13 Oct 2010 13:28:28 -0400 |
Thanks Martin, David and Gerrit. I am trying to use LexEv with saxon but finding problem running it on command. I will try to overcome it. I have mentioned the details at the end. Using character set as suggested by Gerrit solved the problem for apostrophe but I think there might be problem with another ascii characters if they appear in the xml. I will update about use of LexEv for the problem once I use it successfully. Details of problem when using LexEv with saxon: I use following command to run saxon 9.2 from command prompt to do the xslt transformation: java -jar saxon9he.jar -t -s:input.xml -xsl:stylesheet.xsl -o:output.xml I am not successful in specifying LexEv.jar (in addition to saxon9he.jar) with either -cp or -jar option. -jar doesn't allow specifying more than one jar files and saxon doesn't run with -cp option. Thanks, Pradnya On Wed, Oct 13, 2010 at 11:50 AM, Martin Honnen <Martin.Honnen@xxxxxx> wrote: > 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 'nzmero'. 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/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Unicode character decimal, Martin Honnen | Thread | Re: [xsl] Unicode character decimal, Jesper Tverskov |
Re: [xsl] Unicode character decimal, Imsieke, Gerrit, le- | Date | Re: [xsl] Count items in a key ?, Dimitre Novatchev |
Month |