Querying XML Elements Using XPath

The previous section “XML as a Wire Representation” provides you with a few reasons why we've seen explosive growth of XML in the past few years, and it told why XML was selected to be a major component of the SOAP protocol. Another factor is the many peripheral XML technologies that make using XML even more attractive. Certainly one of these technologies is XPath, which is the language that you use to query an XML document for specific information.

If you work with XML, you're probably somewhat familiar with XPath. If not, here is the basic idea. XPath serves the same purpose as the Structured Query Language (SQL) for database access. With SQL, you establish a search expression and provide that to the database. ...

Get Applied SOAP: Implementing .NET XML Web Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.