Reading and Writing to XML Files

G

Guest

I need to read and write to XML files. I am needing to insert news rows,
delete rows and update information in exisiting rows in different XML files.
There seems to be multiple ways to do this. What is the most optimal way or
the best practice for doing this? The XML files are specifically OPML and RSS
files. the RSS files may be fairly large as you can imagine but not too bad.
Any suggestions would be greatly appreciated. I am looking for the optimal
performance above all else since I will be performaning these applications in
a windows client application on demand and on a schedule.

Thank you,
Brian Cooper
 
M

Michael Nemtsev

Hello Cooper,

if it's really big the good solution could be treat this file like simle
text file.
Hard to say what's the more adequate way for your, u need to measure by himself.

Using DOM is nog good idea, because as u said file is realy big. Then choose
betwet XmlReader/Writer and just text files

C> I need to read and write to XML files. I am needing to insert news
C> rows, delete rows and update information in exisiting rows in
C> different XML files. There seems to be multiple ways to do this. What
C> is the most optimal way or the best practice for doing this? The XML
C> files are specifically OPML and RSS files. the RSS files may be
C> fairly large as you can imagine but not too bad. Any suggestions
C> would be greatly appreciated. I am looking for the optimal
C> performance above all else since I will be performaning these
C> applications in a windows client application on demand and on a
C> schedule.
C>
C> Thank you, Brian Cooper
C>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top