Set Text
This step action replaces the content of the found tag with a text. The step action is similar to the Set Content step action, but where the later insert the given text as markup, the Set Text step action insert the text either ampersand encoded or as CDATA.
The step action only works on XML variables. Note that this step neither validates the XML nor resolves entities.
Properties
The Set Text action can be configured using the following properties:
- Text
-
The text to insert.
- Encoding
-
The way the text should be encoded. There are two choices:
- "Ampersand" specifies that the text should be ampersand encode when inserted, e.g. < becomes <.
- "CDATA" specifies that the text should be placed in a CDATA section.