If XPath Expression

Performs a test on the results of evaluating an XPath 1.0 expression.

Fields

Operator

Select the condition test type.

Operator

Returns True When...

True

The XPath expression evaluates to True.

Not True

True would return False.

Value

Contains the value defined for the selected operator. The value is used by the condition. Each value supports variable expansion. For more information on variable expansion and XPath, see Section 3.6.5, XPath Expressions. The operators that contain the value field are:

  • Equal

  • Greater Than

  • Less Than

  • Not Equal

  • Not Greater Than

  • Not Less Than

Remarks

For more information on using XPath expressions with policies, see XPath 1.0 Expressions in Understanding Policies for Identity Manager 3.6.

Example

If you are implementing Novell Credential Provisioning policies, there is a sample Subscriber Command Transformation policy that uses the XPath Expression condition. The sample file is called SampleSubCommandTransform.xml. It is found in the \dirxml\utilities folder on the Identity Manager media. For more information, see Example Credential Provisioning Policies in Novell Credential Provisioning for Identity Manager 3.6. To view the policy in XML, see SampleSubCommandTransform.xml.

The sample Credential Provisioning policy checks each Add operation to see if there is operation data associated with the Add. If there is no operation data, the Novell SecureLogin and Novell SecretStore credentials are provisioned.

Policy checks each add operation to see if there is operation data associated with the add operation
XPath expression