|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: sgml to xml
> But in the OSX the character references are getting converted > into their respective characters. Is there any option to > retain the character references as in the input file. No, there is not. The XSLT processor only sees the character, not the way it was typed at the keyboard. You can force the processor to generate character references on output by using a restricted repertoire in the output encoding, for example encoding="us-ascii". But if you need the original character references to be retained verbatim, the only way is to apply a text-preprocessing phase before XML parsing, for example to turn &xxxx; into $$$xxxx; (and then invert the process on the output). Regards, Michael Kay http://www.saxonica.com/ http://twitter.com/michaelhkay
|
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
|

Cart








