do-set-xml-attr

Sets a custom XML attribute named by the name attribute on the set of elements selected by expression.

Example

<do-set-xml-attr name="cert-id" expression="."> <arg-string>  <token-text>c:\lotus\domino\data\eng.id</token-text>  </arg-string> </do-set-xml-attr><do-set-xml-attr name="cert-pwd" expression="."> <arg-string>  <token-text>certify2eng</token-text>  </arg-string> </do-set-xml-attr>

Allowed Content

Element

Description

arg-string

String argument.

Attributes

Attribute

Possible Values

Default Value

disabled

true | false

True if this element is disabled.

false

expression

CDATA

XPath 1.0 expression that returns a node-set containing the elements on which the XML attribute should be set.

#REQUIRED

name NMTOKEN

Tag name of the XML attribute.

Might contain a namespace prefix if that prefix has been defined on the <policy>. Supports variable expansion.

#REQUIRED

notrace

true | false

True if this element should not be traced during execution of the policy.

false

Content Rule

( arg-string )

Parent Elements

Element

Description

actions

Actions that are performed by a <rule>.

arg-actions

Actions argument.