[Solved] C# how xmlreader read attributes element value
With huge xml files I use combination of XML Reader and XML Linq using System; using System.Linq; using System.Text; using System.Collections; using System.Collections.Generic; using System.Xml; using System.Xml.Linq; namespace ConsoleApp2 { class Program { const string FILENAME = @”c:\temp\test.xml”; static void Main(string[] args) { XmlReader reader = XmlReader.Create(FILENAME); while(!reader.EOF) { if (reader.Name != “Subject”) { reader.ReadToFollowing(“Subject”); … Read more