XML and Internet Support

Specifying a Location Path

XPath queries are specified in the form of an expression. There are various kinds of expressions. A location path is an expression that selects a set of nodes relative to the context node. The result of evaluating an expression that is a location path is a node-set.

Types of Location Paths

A location path can take either of these forms:

Location Steps

A location path (absolute or relative) is composed of location steps that contain three parts: