hi, you can use a ByteArrayOutputStream. regards, toby
On 1/15/07, Sridhar Raman <[EMAIL PROTECTED]> wrote:
I am using the session.exportDocumentView() method. I want to export a node into its document view. But I don't want it go to a file. Instead I want the XML stream to be a memory object. How do I do this? The second parameter in the exportDocumentView() method requires an OuputStream object. What should I use for storing the exported view in-memory? Thanks, Sridhar
-- -----------------------------------------< [EMAIL PROTECTED] >--- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel T +41 61 226 98 98, F +41 61 226 98 97 -----------------------------------------------< http://www.day.com >---
