change encoding of avalon SAX parser

2003-02-06 Thread Lionel Crine
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]



Re: change encoding of avalon SAX parser

2003-02-06 Thread Oskar Casquero



Try using xsl:output encoding="ISO-8859-1"/ 
after the xml declaration in the stylesheet

Oskar