<< Click to Display Table of Contents >> Navigation: Actions > Formatter > Format XML data |
This action is similar to the Format JSON data action, with the difference that it works with text in XML format.
Read XML from file
Enter the file name or select the file using the file selection dialog. Variables can be used.
Use this XML text
Specify the XML text directly in the task. The use of variables is permitted. You can use XML that was previously generated and saved to a variable.
Format mode
Specify the formatting direction:
•To single line data – conversion to a compact format.
•To readable format – conversion to a readable format. This format is sometimes called the "Pretty print" format.
Save XML to file
If you want to save formatted data to a file, enable this switch and enter the required file name.
Save XML to variable
If you want to save formatted data to a variable, enable this switch and enter the variable name.
Please note that you must select at least one option for saving the result. Otherwise, the action loses its meaning.
Related Topics