You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Lionel Crine <cr...@4dconcept.fr> on 2003/02/06 15:24:22 UTC

change encoding of avalon SAX parser

I 'd like to change the encoding in the header of my file.
How can I do that.

For example with DOM I do :

TransformerFactory tFactory = TransformerFactory.newInstance();	
Transformer transformer = tFactory.newTransformer();	
java.util.Properties properties = transformer.getOutputProperties();
properties.setProperty(OutputKeys.ENCODING,"iso-8859-1");
properties.setProperty(OutputKeys.STANDALONE,"yes");
transformer.setOutputProperties(properties);


Is it possible to do it with sax parser in avalon ?

Is there a big diagram of avalon components (not htat one on wiki) to see 
the classes, interfaces and methods ...

If yes, I would be easier to me.


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>