Insert Content

This action inserts the specified content into a document relative to the found tag.

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

Properties

The Insert Content action can be configured using the following properties:

New Content

The new content to insert.

Insert Tag Where

Choose where to insert the new tag relative to the found tag. Options are:

  • As First Child of Found Tag
  • As Last Child of Found Tag
  • Before Found Tag
  • After Found Tag

Note that tags can not be inserted in a text node. Instead, the surrounding tag must be selected.

Set as Named Tag

Select this property to set a named tag on the item.

Auto

Gives the item a name which is number. The first auto-numbered item is 1, the next is 2, and etc.

Named

Gives the item a fixed and explicitly stated name.

See Named Tags, Ranges, and JSON for details.