Hi friends, I want a help that i need a custom logic to read large XML of size 1GB.
Thanks sivaram
Hi friends, I want a help that i need a custom logic to read large XML of size 1GB.
Thanks sivaram
the following code snippet might help you:
private void readXML() {
XmlReaderSettings settings = new XmlReaderSettings();
//configure xml reader settings...
using(XmlReader reader = XmlReader.Create("file.xml", settings)){
while (reader.Read()){
//read xml content..
}
reader.Close();
}
}