concept XPath in category .net

This is an excerpt from Manning's book LINQ in Action.
LINQ to XML extends the language-integrated query features offered by LINQ to add support for XML. It offers the expressive power of XPath and XQuery but in our programming language of choice and with type safety and IntelliSense.
XPath is a language for finding information in an XML document, much like the axis methods and standard query operators. However, instead of offering an API for navigating the XML tree and finding the desired elements and attributes, XPath provides a text-based query language that can be used to define the information that should be selected with the query.
As we’ve already seen, the primary means for querying XML data when using LINQ to XML are the standard query operators and LINQ to XML axis methods. Still, there may be times when an existing XPath query will need to be used. To enable this, a number of bridge classes have been added to the System.Xml.XPath namespace that enable the use of XPath with LINQ to XML objects. To use XPath against LINQ to XML objects, a reference will need to be added to the System.Xml.XPath namespace.
using System.Xml.XPath;Adding a reference to System.Xml.XPath adds a number of extension methods to classes that derive from XNode. The first method added is the CreateNavigator method, which allows an XPathNavigator to be created from an existing XNode. In addition to being able to create an XPathNavigator, the extension methods also allow XPath expressions to be evaluated against an XNode via the XPathEvaluate method. Finally, the XPathSelectElement and XPathSelectElements extension methods allow LINQ to XML objects to be searched via XPath expressions. XPathSelectElement returns the first element matching the XPath expression and XPathSelectElements returns all elements matching the expression.
Let’s see how we can use these extension methods to query the XML with XPath.