Skip to content

Xml

Node: xml · Full type: n8n-nodes-base.xml · Version: 1

Parameters

Parameter Type Default Details
mode options "xmlToJson" jsonToxml, xmlToJson
dataPropertyName string "data" required
options collection {} keys: allowSurrogateChars, attrkey, cdata, charkey, headless, rootName

options children:

Parameter Type Default Details
allowSurrogateChars boolean false
attrkey string "$"
cdata boolean false
charkey string "_"
headless boolean false
rootName string "root"

Example

NODE "xml" AS "Xml" {
  dataPropertyName: {{ $json.dataPropertyName }}
}