Hi, I changed LocalFileFormatTarget for MemBufFormatTarget. It is now quite fast. Thanks a lot.
I think I will wait next release to upgrade version. We are quite busy right now. thanks a lot! Patrick > -----Original Message----- > From: Erik Rydgren [mailto:[EMAIL PROTECTED] > Sent: Monday, October 13, 2003 2:39 AM > To: [EMAIL PROTECTED] > Subject: RE: Writing a big DOM document to a file take very long > > > There was a bug in the file output source which made the > writing REALLY > slow (no buffering). I can't remember which version it was > fixed in but > I know it is fixed in the last version released. Why not try that one > out? > > / Erik > > > -----Original Message----- > > From: Patrick Blanchette [mailto:[EMAIL PROTECTED] > > Sent: den 10 oktober 2003 19:51 > > To: [EMAIL PROTECTED] > > Subject: Writing a big DOM document to a file take very long > > > > Hi, > > I want to write information from a DB to an XML file. There are > > many > > records. Creating the DOM tree is fast, but the call to > > DOMWriter::writeNode takes really long. Is it something I can do to > speed > > up things? > > > > I am using xercesc-2.1.0 on Win2000. > > > > Is it another way than using DOM to write XML document in > xerces? I > > don't > > need the DOM tree and when I parse XML file, I always use SAX. > > > > thanks a lot, > > Patrick > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
