I'm trying to implements my transformer but I can't figured out how to use
these methods.
Here is what I did :
protected Stringbuffer body = new StringBuffer();
public void startElement(String namespaceURI, String localName, String
qName, Attributes attributes)
throws SAXException
{
try
{
this.startSerializedXMLRecording(this.format);
this.body.append(this.endSerializedXMLRecording());
}
catch (Exception e){}
super.startElement(namespaceURI, localName, qName, attributes);
}
I thought I was enought to get the elements in my StringBuffer, but it's
still empty.
Moreover, there no documentation about this and the examples in the source
don't use thes methods.
Anyone knows what's my mistake ?
---------------------------------------------------------------------
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: startSerializedXMLRecording and endSerializedXMLRecor... Lionel Crine
- RE: startSerializedXMLRecording and endSerializedXML... Carsten Ziegeler
- Re: startSerializedXMLRecording and endSerializedXML... Brian Johnson