Skip to main content

XML Writer

XML writer task generates an XML file or String from a JSON object.

main

JSON object
This contains zero, one, or more key-value pairs, also called properties. The object is surrounded by curly braces . Every key-value pair is separated by a comma. The order of the key-value pair is irrelevant.

Attributes key
Enter the object containing XML attributes.

Values key
Enter the object key containing tag values.

Output file path
Output file path is the complete path where the XML file resulting from the JSON object will be saved.

Note: If the file already exist, the file will be overwritten.

Export to context as
The field allows you to export the content of JSON object to the context using a variable. If you prefix the name of the variable with gc it will be exported to global context. Example : "gc.my_var"