Chapter 24. XML Path Language (XPath) Tad Tougher Tutorial
XPath data model
All XML processing depends upon the idea of addressing. In order to do something with data you must be able to locate it. To start with, you need to be able to actually find the XML document on the Web. Once you have it, you need to be able to find the information that you need within the document.
The Web has a uniform solution for the first part. The XML document is called a resource and Uniform Resource Identifiers are the Web’s way of addressing resources. The most popular form of Uniform Resource Identifier is the ubiquitous Uniform Resource Locator (URL).
The standard way to locate information within an XML document is through a ...