Skip to Content
Querying XML
book

Querying XML

by Jim Melton, Stephen Buxton
April 2011
Intermediate to advanced
848 pages
20h 4m
English
Morgan Kaufmann
Content preview from Querying XML
Chapter 9

XPath 1.0 and XPath 2.0

9.1 Introduction

The XML Path Language – XPath, as it is more commonly known – was first published as a recommendation1 by the W3C in 1999. According to its specification, XPath was created “to provide a common syntax for functionality shared between XSL Transformations [XSLT] and XPointer” (see Chapter 7, “Managing XML: Transforming and Connecting”), and its purpose is “to address parts of an XML document.” Like nearly all of the W3C specifications, XPath “operates on the abstract, logical structure of an XML document, rather than its surface syntax.”

What does it mean to say that XPath is used to “address parts of an XML document”? If we simply replace address with locate or identify or even point to, the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

XML Hacks

XML Hacks

Michael Fitzgerald

Publisher Resources

ISBN: 9781558607118