6.6.4.7 Predicates

Support for predicates in the last step of the location path is required. For example, the following query would be supported:

Find all employees who have a secretary and an assistant property:
//element(*, employee)[@secretary and @assistant]

See 6.6.3.3 Property Constraint, above.