Skip to main content
Version: On-Premise 2.1

Add XML Attribute

Activity Description

Adds the specified attribute as the last node in the collection.

Output

Success/failure.

Settings

  • XML Session – The XML session.
  • Add to all matching nodes – Adds the specified attribute to all nodes residing under the following Xpath (rather than just the last node).
  • XPath Query – The path of the node to which the attribute is added.
    Example: //configuration/Testing
  • Attribute Name – The name of the new attribute.
  • New Value – The initial value of the new attribute.