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

Re: encoding and XSL Transformation

Subject: Re: encoding and XSL Transformation
From: Earl Bingham <earl@xxxxxxxxxxx>
Date: Tue, 10 Sep 2002 10:03:57 -0700
earl bingham

I'm using emacs and Internet Explorer 6.0 to view the output. Anyway, it is the decimal representation that I want as the output. I am working with XML that is being generated using C++ MFC and the Xerces C++ parser.


What would you suggest I do to convert these characters to their decimal reference? Looking at Microsoft .NET namespaces System.Xml didn't appear to have an answer for this either.

Best Regards,

_Earl

At 07:19 AM 9/10/2002 -0700, you wrote:
>When I use Xalan UTF-8
>encoding, it will make these characters into garbeled mess,
>like  Â$(A  for right tick ,etc.
>When I use james clark's xt parser. It will transform these characters
>nicely. Converting them to their hex representation &#146;

Presumably you mean &#146; is the decimal reference, not the hex reference.
The hex representation &#x0146; maps out to the small latin letter n with
cedilla. This tells me you're trying to pump Windows encodings into Xalan.
Windows encodings within the range of 128-159 map out to a variety of
control characters in Unicode, so your problem begins with your source
document, not Xalan.

Cheers,

Charles White
The Tumeric Partnership
http://www.tumeric.net
http://www.javertising.com
________________________________________
Author, Mastering XSLT, Sybex Books
Co-Author, Mastering XML, Premium Edition, Sybex Books






XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list





XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


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.