Chapter 17. XPath primer Friendly Tutorial

  • Location paths

  • Addressing multiple objects

  • Children and descendants

  • Attributes

  • Predicates

XPath is a notation for addressing information within a document. That information could be:

  • An “executive summary” of a longer document.

  • A glossary of terms whose definitions are scattered throughout a manual.

  • The specific sequence of steps, buried in a large reference work, needed to solve a particular problem.

  • The customized subset of information that a particular customer subscribes to.

  • All the sections and subsections of a book that were written by a particular author or revised since a specific date.

  • For documents holding information from relational databases, all the typical queries made of relational databases: a particular ...

Get XML in Office 2003: Information Sharing with Desktop XML 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.