Skip to main content
The XML Tools connector provides operations for working with XML: parsing, converting to and from JSON, formatting, and validation.
No connection required; this utility connector works out of the box.

Tools

string
required
XML string to convert.
boolean
default:"false"
Ignore XML attributes.
string
default:"@_"
Prefix for attribute keys in JSON.
string
default:"#text"
Key name for text nodes.
boolean
default:"false"
Preserve element order in output.
Example request:
Example response:
any
required
JSON data to convert.
string
default:"root"
Root element name.
string
default:"@_"
Prefix that identifies attributes.
string
default:"#text"
Key name for text content.
boolean
default:"true"
Include XML declaration.
boolean
default:"true"
Format with indentation.
Example request:
Example response:
Parse XML and return structured data with metadata.
string
required
XML string to parse.
Example request:
Example response:
Format XML with indentation for readability.
string
required
XML string to format.
number
default:"2"
Number of indentation spaces.
enum
default:"utf8"
Output encoding for the result field: utf8 (default) or base64 (for email attachments, SFTP uploads, or knowledge-base embedding). The response includes an encoding tag.
Example request:
Example response:
Remove all unnecessary whitespace from XML.
string
required
XML string to minify.
enum
default:"utf8"
Output encoding for the result field: utf8 (default) or base64 (for email attachments, SFTP uploads, or knowledge-base embedding). The response includes an encoding tag.
Example request:
Example response:
Check if a string is valid XML.
string
required
XML string to validate.
Example request:
Example response:
Extract a specific element using dot-notation path.
string
required
XML string.
string
required
Dot-notation path (e.g., root.items.item).
Example request:
Example response: