Re: Change default encoding in the transformer

2003-03-10 Thread Lionel Crine
i found something which work. ... try { this.format2 = org.apache.cocoon.xml.XMLUtils.defaultSerializeToXMLFormat(true); id = org.apache.cocoon.xml.XMLUtils.serializeNode(doc, this.format2); this.request.append(id); ... Hope that helps other people. At 14:53 10/03/2003

Re: Change default encoding in the transformer

2003-03-10 Thread Lionel Crine
You're right. But my transformer take a part of SAX events sent by the generator and parse it : Here some lines of my transformer : . public void endElement(String uri, String loc, String raw) throws SAXException { if (extractLevel == 0) { super.endElement(uri,loc,ra

Re: Change default encoding in the transformer

2003-03-10 Thread Martin Holz
Lionel Crine <[EMAIL PROTECTED]> writes: > I'd like to change the default encoding in my custom transformer, how > can I do that ? How is a transformer related to encoding? It's a internal component and is working on java strings only (unless it is reading additional data from a external source)

Change default encoding in the transformer

2003-03-10 Thread Lionel Crine
I'd like to change the default encoding in my custom transformer, how can I do that ? Lionel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]