Creating a Reorder process
- Click the Processes tab.
- Click + and select Reorder.
-
Specify this information:
- Reorder Queue
- Specify a name for the reorder queue. You can specify a maximum of 256 characters.
- Namespace URI and Prefix
- Optionally, click + in the Namespaces section to add valid namespace URIs and their prefixes.
- XPath
- Click + in the Document ID section to add document IDs. You can also arrange the order of the document IDs by clicking Move Up and Move Down.
- The Reorder process XPath supports these formats:
- To select elements at a specific level:
/root/elementName
- To select elements with a specific attribute value:
/root/elementName[@attributeName='value']
- To select elements using a relative path:
//elementName
- To select the first occurrence of an element:
//elementName[1]
or to select the second occurrence://elementName[2]
- To retrieve the text content of an element:
//elementName/text() -
- To retrieve using a predicate path or a path with a
condition:
//elementName[condition]/subElementName
Note: Only the first match is returned in any of the given examples. - To select elements at a specific level:
- Sequence Number XPath
- Optionally, specify a valid XPath for the sequence number of the document ID. You can specify a maximum of 256 characters.
- Click Add.