Set Tag Name

This action replaces the name of the found tag with a new name and optionally copies the attributes of the found tag to the new tag. The child nodes of the tag are preserved.

The step action only works on XML variables. Note that this step neither validates the XML nor resolves entities.

Properties

The Set Tag Name action can be configured using the following properties:

Tag Name

The new name of the tag. This must of course be a valid tag name for the given document type.

Clear Attributes

If the property is set then all the attributes of the found tag are removed. If not then the attributes are copied to the new tag.