More and more applications these days, both web and Windows, are using XML files as an effective method of storing data. XML files are both easy to manage and simple to implement. However, there are several different ways of opening and reading/navigating through them. One of these methods is using XPath, a built-in feature of the Microsoft .NET Framework.

XPathQuery code snippet

I found a useful article on how to use XPath and XPathQuery to access the contents of an XML file. If this is something you’ve been struggling with, it’s well worth the read.