Create XPath Navigator - CSharp System.Xml

CSharp examples for System.Xml:XPath

Description

Create XPath Navigator

Demo Code


using System.Xml.XPath;
using System.Xml;
using System.Text;
using System.IO;/*from   ww w . jav a2  s .  co m*/
using System;

public class Main{
        public static XPathNavigator CreateXPathNavigator(XmlReader reader)
        {
            var document = new XPathDocument(reader);
            return document.CreateNavigator();
        }
}

Related Tutorials