Hi, I am new to Xerces-c and XML but have been using C++ for 5+ years now.
In our application I would like to use Xerces to output large amounts of data 1-80Mb. This is too large to create a DOMDocument and then use the DOMWriter due to the memory usage. I would like to be able to do write the file incrementally such as follows. 1. Create the file and output the version, doctype, references to DTD, parent node opening tag..etc. 2. Create child node in memory then append it to the file. 3. Repeat step 2 until all the data has been saved to file. 4. Close the parent node tag. 5. Close the file. I know I can write just a node to a file (similar to DOMPrint example), but it overwrites it each time when I reopen the file. I could create my own version of a LocalFileFormatTarget that appends rather than overwrites (this is the way I am leaning). Does anyone have any better suggestions? Perhaps I am missing something here. I thought it would be a problem that others have had to face before and so would have a solution. Any help is appreciated, Thanks. Trevor Thomson Manufacturing Manager Laser Analysis Technologies 23/200 Canterbury Rd Bayswater Vic Australia 3153 www.laseranalysis.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
