Location paths

Patterns are a limited form of location path. The general form of a location path has therefore already been described above. The main features of a location path beyond those adopted in patterns are the ability to make steps in directions other than downward into the structure of the document, and the ability to begin the path at the current location:

To support the taking of steps in various directions, a number of additional keywords are needed beyond 'child::'. A further 12 keywords are available, allowing navigation to parents and higher-level ancestors, descendants below the level of children, and material that simply precedes ...

Get XSL companion, The 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.