Ah ok i understand that sax2xmlreader doesn't allow
for encoding change.
Shall I use a SaxHandlerParser like the sample file
Sax2Print then ?
--- Alberto Massari <[EMAIL PROTECTED]> a �crit
:
> At 19.47 12/01/2005 +0100, David --- wrote:
> >Hi,
> >I have implemented a SAX2xmlreader parser.
> >I don't know how to change the xml encoding. For
> >instance while reading a file encoded in UTF-8 I
> would
> >like to change the output encoding to somethig else
> >(utf-16 or any other)
>
> The SAX2XMLReader reads a file, and doesn't have the
> notion of an output
> encoding. You need an output encoding when you save
> a DOM tree into a file,
> but that operation is done by the DOMWriter class
> (that accepts an output
> encoding as a parameter)
>
> Alberto
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
D�couvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Cr�ez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]