I'm trying to remove the xml nodes from the XML file without using XmlDocument
or XDocument
.
I got many examples from net which all discuss about either XmlDocument
or XDocument
(Linq2XML).
i can not use either of the options(XmlDocument
or Linq2XML Xdocument
) because of the following 2 reasons:
1.they load the whole Xml file into memory and perform the opertaions (like remove node,add node etc.,) in my case Xml files are very huge.
2.both XmlDocument
and XDocument
crash if there is an invalid character in xml file.
Please suggest me some good alternative of removing the nodes without using XmlDocument
or XDocument
.