Starting at the Context Node

Following is a query that looks for all child author elements in the current context:



This query is simply the name of the element you want to search for. If the context node is any one of the book elements, this query returns one author element. If the context node is any other node, this query returns the empty set.

Free Stylus Studio XML Training:
W3C Member