|--title |--book--|--author | |--year | |--price | |--author | | |--title bookstore---|--book--|--author | |--year | |--price | | |--title | |--author | |--author |--book--|--author |--author |--author |--year |--price
step1/step2/.../stepn
The allowable operators in value expressions include:
Some examples:
/bookstore/book | dvdJust like predicates, the | operator can be used in intermediate steps. For example, we can select the price element of all books or cds using the following XPath:
/bookstore/book | dvd/price
axisname::path operator[predicate]