NOTE:
These slides have not been updated since 2003. They have been superseded by the book
Anders Møller and Michael Schwartzbach, February 2006 |
THE XML REVOLUTION - TECHNOLOGIES FOR THE FUTURE WEB |
axis :: node-test [ predicate ]
This structure of location steps makes implementation rather easy and efficient, since the complex predicates are only evaluated on relatively few nodes.
The example from before:
child::section[position()<6] / descendant::cite / attribute::href |
selects all href attributes in cite elements in the first 5 sections of an article document.
COPYRIGHT © 2000-2003 ANDERS MØLLER & MICHAEL I. SCHWARTZBACH |