Is it possible to delete an Xml node

  • Thread starter Thread starter jibesh
  • Start date Start date
J

jibesh

Hi ,
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.


- Jibesh.V.P
 
jibesh said:
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).
 
Back
Top