to the main page... about these slides...

Location steps

A location step has the form

    axis :: node-test [ predicate ]

The candidates that survive the filtration constitute the result.

This structure of location paths and steps makes implementation rather easy.

The example from before:


selects all href attributes in cite elements in the first 5 sections of an article.