The process data area of the example input tab illustrates the output schema of the activities in the process. There are three output schema, each a root node in the process data area: GetCustomerInformation,
GetOrderInformation, and
GetOrderId. Each of these schema has its own associated structure, for example,
GetCustomerInformation has a set of simple values and
GetOrderInformation has simple data and other complex data.
XPath also has a method for referencing relative paths from a particular node. If you have an evaluation context, or a particular starting node in a schema tree, you can specify the relative path to other elements in the tree.
For example, if your evaluation context is $GetOrderInformation/ShipName, then you can reference the sub-items of
ShipName without specifying the entire path. If you wish to reference
$GetOrderInformation/RequiredDate, the relative path would be
../RequiredDate. The path is relative to the evaluation context —
RequiredDate is one level higher in the schema tree than the elements of
ShipName.
An XPath expression can have a search predicate. The search predicate is used to locate a specific element of a repeating schema item. For example, the $GetOrderInformation/OrderDetails/OrderItem item is a repeating element. If you wish to select only the first item in the repeating element, you would specify the following: