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

Re: Encoding of strings in stylesheet parameters

Subject: Re: Encoding of strings in stylesheet parameters
From: Josh Canfield <joshcanfield@xxxxxxxxx>
Date: Thu, 2 Sep 2004 09:13:52 -0700
xalan support encoding
This is more appropriate for the Xalan mailing list, as it really has
nothing to do with XSL.

But....
In Java (and likely the C version, I just haven't used it) the
encoding of the file is only needed to parse the file. The String data
will be stored in memory as UTF-16. If you are passing parameters
using the Java API then your strings too will be UTF-16, unless you
are going to pass an array of bytes that represents the text in some
other encoding.

If that doesn't help then please take the question to the Xalan
mailing list that can be found at:
http://xml.apache.org/mail.html#xalan-j-users

Josh

On Thu, 2 Sep 2004 09:40:09 -0500, Murthy, Ganesh <gmurthy@xxxxxxx> wrote:
> 
> I am using stylesheet parameters to pass values to be displayed in the
> final html.
> 
> Does Xalan support multi-byte encodings in stylesheet parameters, and if
> it does, which encoding does it expect - Does it expect parameter to be
> in the encoding of the input XML document, or of the input XSL document?
> Or is it based on the host machine?
> 
> My Input XSL is ISO-8859-1. Input XML is determined by database encoding
> (may be ISO-8859-1 or any other). Output is UTF-8 by default.
> 
> Appreciate any info.
> 
> Thanks,
> Ganesh.

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.