The XPath processor always evaluates filters with respect to a context. For example, the expression book[author]
means for every book
element that is found in the current context, determine whether the book
element contains an author
element. For example, the following query returns all books in the current context that contain at least one excerpt: