Arguments to some conditions, actions, and tokens use XPath 1.0 expressions. XPath is a language created to provide a common syntax and semantics for functionality shared between XSLT and XPointer. It is used primarily for addressing parts of an XML document, but also provides basic facilities for manipulation of strings, numbers and booleans.
The XPath specification requires that the embedding application provide a context with several application defined pieces of information. In DirXML Script (see Section 1.1.2, DirXML Script), XPath is evaluated with the following context:
The context node is the current operation.
The context position and size are 1.
Available variables
Those available as parameters to style sheets within Identity Manager (currently fromNDS, srcQueryProcessor, destQueryProcessor, srcCommandProcessor, destCommandProcessor, and dnConverter).
Global configuration variables.
Local policy variables.
If there is a name conflict between the different variable sources then the order of precedence is local variable, style sheet parameters, global variables.
Namespaces that are declared on the policy element.
Available functions
All built-in XPath 1.0 functions
Java extension functions as provided by NXSL
Namespaces declarations to associate a prefix with a Java class must be declared on the policy element.
The W3 Web site contains further information.