Skip to main content
Jeremias Meister - Tools & Pipeline

Action Data

XML Parser

Reads or writes XML files. In read mode, parses XML to JSON. In write mode, converts JSON data to XML format.

Node IDXmlParserAction

Parameters

ParameterTypeRequiredDefaultDescription
Mode mode enum
  • Read
  • Write
Yes Read Whether to read from or write to an XML file.
File Path filePath file_picker Yes — The path to the XML file to read from or write to.
Data to Write data textarea No — JSON data to write to the XML file (only used in Write mode). Can be set by a data connection.
Root Element Name rootElement string No root The name of the root XML element when writing (only used in Write mode).
Overwrite Existing overwrite boolean No false If true, overwrites an existing file when writing (only used in Write mode).

Inputs

InputTypeRequiredDescription
Execute input0 object Yes Triggers the XML operation.

Outputs

OutputTypeIdentifierDescription
Result output0 object xml_data In Read mode, contains the parsed XML data as JSON. In Write mode, contains the file path.