jibesh <ji*******@gmail.comwrote:
Is it possible to delete an XML node without using XmlDocument or
dataset. Since my XML file size is more than 120 MB, every time loading and
saving takes too much time
and memory. can any one suggest a better method of deleting a node from an
Xml in .Net 2005.
Removing an XML node from a file requires rewriting the file at least
from the deletion point. This is a general file handling point - you
can't just "remove" a bit of a file (or add into it, for that matter).
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog:
http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too