[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Special entity characters in Shift-JIS XSL.
> Is there a way in which I can specify UTF-8 encoding and output a ASCII > sequence. I should be able to see the file in any text editor so can I code > all the characters as &#nnnn?? you can code (in the input) all characters as &#nnnn; whatever your output encoding. To force the output to be encoded as ascii and have all non ascii characters output as numeric references then (if the xslt system supports the encoding) you can say <xsl:output encoding="us-ascii"/> saxon supports ascii output xt doesnt, I am not sure about the rest. There is no _obligation_ on an xslt system to support xml output encodings. Note however if you do this you won't be able to output any documents that use non ascii characters in element or attribute names. <xxxऩ /> is not well formed XML. David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|