Set XML Attribute

Sets an XML attribute on a set of elements selected by an XPath expression.

Fields

Name

Specify the name of the XML attribute. This name can contain a namespace prefix if the prefix has been previously defined in this policy. Supports variable expansion. For more information, see Variable Selector.

XPath Expression

XPath 1.0 expression that returns a node set containing the elements on which the XML attribute should be set. Supports variable expansion. For more information on variable expansion and XPath, see XPath Expressions.

String

Specify the value of the XML attribute.

Example

Set XML attribute