Klaus Ole Kristiansen wrote:
...
Values are set by Transformer.setParameter .

As expected this is much faster. But I have a problem. Non-ASCII characters
(such as the last
letters of the alphabet) are changed.  For example ANS�TTELSESKONTRAKT
becomes
ANS�#TTELSESKONTRAKT. I start both the source xml and each xsl with
<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?> , but this seems to be
ignored.

I have to resort to guessing: if the ANS�TTELSESKONTRAKT comes from the style sheet check whether your style sheet editor acutally saves the file as ISO-8859-1 encoded rather than UTF-8 encoded. If the encoding turns out to be correct (double check), you'll have to supply more details: which servlet container, which XML parser in the path (use the WhichVersion untility), whether the ANS�TTELSESKONTRAKT goes in via the XSLT or the parameters.


J.Pietschmann


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to