[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: XML to RTF - display of Unicode

Subject: Re: Re: XML to RTF - display of Unicode
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 3 Jun 2003 15:56:58 +0100
xml syntax
> <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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.