Performs a test on the results of evaluating an XPath 1.0 expression. The type of test performed depends on the operator specified by the op attribute. The following table shows the type of test performed by each operator.
Operator |
Returns true when... |
---|---|
true |
The XPath expression evaluates to true. |
not-true |
True returns false. |
<if-xpath op="true">add-attr[@attr-name='OU]/value[string(.) = "Sales"]</if-xpath>
#PCDATA
Attribute |
Possible Values |
Default Value |
---|---|---|
disabled |
true | false True if this element is disabled. |
false |
notrace |
true | false True if this element should not be traced during execution of the policy. |
false |
op |
true | not-true Test operator. |
#REQUIRED |
( #PCDATA )