O'Reilly logo

Sams Teach Yourself XML in 10 Minutes by Andrew H. Watt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How XPath Is Used

XPath is written in a non-XML syntax that enables you to define which part or parts of an XML document are selected by an XML processor or an application built on it. For example, you might want to select information to include in a company report from elements in a data store representing sales during a specified period.

Understanding basic XPath syntax is essential to being able to use Extensible Stylesheet Language Transformations (XSLT), described in Chapter 10, “XSLT—Creating HTML from XML”; Chapter 11, “XSLT—Transforming XML Structure”; and Chapter 12, “XSLT—Sorting XML.”

Note

The description of XPath in this chapter ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required