Hi Rachid,
in one part of my application I must do a similar thing. I did write a
transformer that caches all SAX events in StringBuffer as XML content.
In 'endDocument' I use this StringBuffer to write a file in the file
system. I think you could use the StringBuffer to create the input for
your DocumentBuilder.
Maybe that's not the best way - but it's the only I know.

Eiko

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to