Location Steps
A search path contains a series of one or more location steps separated by a slash (/). Each location step is evaluated in sequence, from left to right, to select a set of objects used as the context to evaluate the next location step.
Each location step consists of the following:
an axis, either implied or explicit
a node test
zero or more predicates
The unabbreviated syntax for a location step is the axis name and node test separated by two colons (::), possibly followed by one or more predicate expressions, each in square brackets ([ ]).
For more information about predicates, see Predicates
For example, in the following search path, the location step child::report[@name='Order Product List Report']
selects all child objects of folder
objects that are report
objects and that have a name
property set to Order Product List Report
:
//folder/child::report[@name='Order Product List Report']