Subject: Re: Special entity characters in Shift-JIS XSL. From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 16 Mar 2000 22:53:06 GMT |
> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Special entity characters in Sh, kbagepalli | Thread | how do you get non-xhtml data throu, Evan Eustace |
RE: using HTML editors with XSL, prasadm | Date | how do you get non-xhtml data throu, Evan Eustace |
Month |