public static void mSelectSingleNode_InnerText () { /* File */ var xDoc = new System.Xml.XmlDocument(); xDoc.Load(@"CustomersOrdwes.xml"); /* Node(Single) */ string sXPath= @"[CustomerID='GREAL']/CompanyName"; Console.WriteLine(xDoc.SelectSingleNode(sXPath).InnerText); }