retain unicode characters such as - in xml to xml tra
Posted: Tue Dec 21, 2010 2:01 am
I have some xml files that I need to run a xsl script on. The xml file has numerous(thousands) of unicode caracters specified. Some in that are in standard ascii and some not.
I added <xsl:output encoding="US-ASCII"/>
to my script which kept all but x002d, that being in the US ascii set.
How can i retain the thousand or so - declarations when I run the script?
Also, when teh script runs the retained unicode charaters are output as decimal instead of hex. Anyway of not having it do that too as I have to go in and search and replace the 15 odd numbers it is munging. Not as important as the first request to retain the - charcter but would be nice.
Scott
I added <xsl:output encoding="US-ASCII"/>
to my script which kept all but x002d, that being in the US ascii set.
How can i retain the thousand or so - declarations when I run the script?
Also, when teh script runs the retained unicode charaters are output as decimal instead of hex. Anyway of not having it do that too as I have to go in and search and replace the 15 odd numbers it is munging. Not as important as the first request to retain the - charcter but would be nice.
Scott