You have to tweak your XSP that it produces the equivalent of
<?xml version="1.0" encoding="UTF-8"?>
<doc>
<text>Übung</text>
</doc>
Any effort to use XSLT for unwinding the double escaped
&#220; ==> Ü ==> Ü
is futile.
You should look whether the text is already like this in the database,
or whether it is modified by the JDBC driver reading XML data.
HTH, Alfred.
-----Original Message-----
From: Dingjun Jia [mailto:[EMAIL PROTECTED]
Sent: Montag, 10. Juli 2006 20:10
To: [email protected]
Subject: How to avoid the encoded text Ü in pdf generation
...
My cocoon 2.1.9 runs on a suse linux computer with java version "1.4.2_11".
I use fo2pdf serializer to generate pdf files from xml files, which I use
xsp to generate from a MySQL (Version 4.1.13) database. The pdf-generation
runs without errors, but in the generated pdf files there are text like
"Übung", which should be "Übung".
For the sake of simplicity, I give a short example to describe my situation
and forget the step of generating xml from xsp intentionally.
Given that, we have already a xml file like this:
<?xml version="1.0" encoding="UTF-8"?>
<doc>
<text>&#220;bung</text>
</doc>
...
Dingjun Jia
This message is for the named person's use only. It may contain confidential,
proprietary or legally privileged information. No confidentiality or privilege
is waived or lost by any mistransmission. If you receive this message in error,
please notify the sender urgently and then immediately delete the message and
any copies of it from your system. Please also immediately destroy any
hardcopies of the message. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the intended
recipient. The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this message are
those of the individual sender, except where the message states otherwise and
the sender is authorised to state them to be the views of the sender's company.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]