CSharp examples for System.Xml:XML Reader
Get Xml Reader
using System.Xml.XPath; using System.Xml; using System.Text; using System.IO;// w ww. j av a 2s . co m using System; public class Main{ #region GetXmlReader public static XmlReader GetXmlReader(FileInfo fileInfo) { var textReader = new XmlTextReader(fileInfo.FullName); return textReader; } }