By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,650 Members | 1,772 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,650 IT Pros & Developers. It's quick & easy.

Writing large set of data to xml files using DOM

P: n/a
Hello,

Need your valuable inputs for this scenario. Any pointers would be
helpful.

I have large data set (few 100s of MB or sometimes may even go up to
GB). I populate a DOM tree using this data set and then write this DOM
tree to xml file.
How should one handle such large data set in xerces, as we cannot have
such a large DOM tree in memory. I have a following questions:

1Can xerces handle such large data in DOM tree? If yes then how and
also does it do some caching to some temporary file on disk??

2Can I populate the DOM tree and flush it partially and in small
chunks?? If yes how?

I think there could be other alternatives than using DOM, but I want
to know whether xerces DOM can handle this.

Thanks in advance,
Kaustubh

Feb 9 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
ka**********@gmail.com wrote:
Hello,

Need your valuable inputs for this scenario. Any pointers would be
helpful.

I have large data set (few 100s of MB or sometimes may even go up to
GB). I populate a DOM tree using this data set and then write this DOM
tree to xml file.
How should one handle such large data set in xerces, as we cannot have
such a large DOM tree in memory. I have a following questions:
You'd be better off asking on a Apache forum or mail list.

--
Ian Collins.
Feb 9 '07 #2

P: n/a
ka**********@gmail.com wrote:
Hello,

Need your valuable inputs for this scenario. Any pointers would be
helpful.

I have large data set (few 100s of MB or sometimes may even go up to
GB). I populate a DOM tree using this data set and then write this DOM
tree to xml file.
How should one handle such large data set in xerces, as we cannot have
such a large DOM tree in memory. I have a following questions:

1Can xerces handle such large data in DOM tree? If yes then how and
also does it do some caching to some temporary file on disk??

2Can I populate the DOM tree and flush it partially and in small
chunks?? If yes how?

I think there could be other alternatives than using DOM, but I want
to know whether xerces DOM can handle this.
You will need to consult a group for Xerxes if you need help using it.
This newsgroup is for questions about the Standard C++ language only.

Consult the C++ FAQ for more newsgroup information
http://www.parashift.com/c++-faq-lite/

--John Ratliff
Feb 9 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.