Hi,

I have a very (VERY!) large xml (generated through xsp) and I need to write this to a 
file. Untill now I used a DOM transformer because the files weren't as large, but 
obviously with DOM I'm having some serious memory problems... After the file is 
written, the result (success/failure) should be sent back in XML format to the browser.

So my question is, should I write my own transformer using SAX to write the xml from 
the pipeline to a file, or is there another component for this available (Cocoon 
2.0.4) ? Related to this, I suppose I could use an XSLT for writing the file 
(<redirect:write file="theFile.xml">...</>) but does the XSLT use DOM or SAX ? How is 
xslt performance with large xml documents ?

Any suggestions would be appreciated :)

Thanks !
Geert




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

Reply via email to