You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Frank Collas <fc...@ip.lu> on 2000/10/24 17:23:21 UTC

Xalan transfroms UTF-8 to &#???;

Hi,

I'm using Xalan-C++.  I've to transform UTF-8 XML documents.  After
transformation all characters > 128 are transformed into &#...; chars.
But I would like to keep UTF-8 encoding in my result document. instead
of entities for each character.  What am I doing wrong ?

I tested the same UTF-8 XML file with the DOMPrint and the SAXPrint
sample of Xerces-C++.  DOMPrint is transforming well but SAXPrint does
also generate entities.  I tried to put a DOM document as input source
to the Xalan processor but I don't get it work.

Is there any solution for my problem ?

TIA,
Frank