I don't think I understand your question. There is no data in an
XSLTResultTarget. The processor chooses an output encoding as follows:
1. If there is an xsl:output element in the stylesheet, and it has an
encoding attribute, and the processor supports that encoding, the
serialized result will be in that encoding.
2. Otherwise, the serialized result will be encoded in UTF-8.
Does that anwer your question?
Dave
Olivier Mo�ses
<[EMAIL PROTECTED] To:
<[email protected]>
ncept.com> cc: (bcc: David N
Bertoni/CAM/Lotus)
Subject: How to get the
character encoding
10/31/2001 05:40 AM of the XSLTResultTarget ?
Please respond to
contact
Hi everybody,
Does someone knows how to get the character encoding of the
XSLTResultTarget returned by XalanTransformer.transform (?).
I would like to know if the data are ISO-8859-1 or UTF-16 inside the
XSLTResultTarget.
I believe that the getEncoding () is just returning the value the source
code gave.
Thanks,
Regards
Olivier Moises
Generic Concept
94, Av Jean Lebas
59100 Roubaix
FRANCE
e-mail: [EMAIL PROTECTED]