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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.