Subject: Re: [xsl] Re: XML to RTF - display of Unicode From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 3 Jun 2003 15:56:58 +0100 |
> <xsl:output method="xml" encoding="ISO-8859-1" indent="yes" ^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^^^ You have asked for xml output, and an encoding, latin 1, that does not support all of unicode, so the system encodes non latin1 characters in xml syntax &# .... But RTF is not XML! so you don't want xml output you want text output. I'm not sure what encodings rtf supports, but I'd guess utf16 would be OK? something like <xsl:output method="text" encoding="UTF-16" in a UTF encoding all characters will be supported and so none will need to be encoded (it's an error to have any inencoded characters in the text output method as the XML &# syntax is not available. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: XML to RTF - display of U, Els van Trigt | Thread | [xsl] How to display the image size, weihua li |
Re: [xsl] Sorting and unique nodes, G. Ken Holman | Date | [xsl] OR statement, Alan Gardner |
Month |