>The function is implemented as you see below. There are two problems.
>1) If I use the "FormatterToHTML", the application crashes
>2) If I use the "FormatterToXML", the output is cached and written in
>"1024" byte chunks. So the file is shortened and broken.
Sorry, I was too fast writing to the List. The solution is to call
startDocument() and endDocument() from the FormatterListener...
--8<-- snip --8<--
oListener.startDocument();
FormatterTreeWalker oWalker(oListener);
oWalker.traverse(rootNode);
oListener.endDocument();
--8<-- snip --8<--
Anybody interested in this function?
HolgeR
--
holger floerke d o c t r o n i c
email [EMAIL PROTECTED] information publishing + retrieval
phone +49 2222 9292 90 http://www.doctronic.de