mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 13:27:31 -08:00
⚡ Add additional options to XML-Node
This commit is contained in:
parent
1391bf39c6
commit
d44f67e55d
|
@ -90,6 +90,13 @@ export class Xml implements INodeType {
|
||||||
default: '$',
|
default: '$',
|
||||||
description: 'Prefix that is used to access the attributes.',
|
description: 'Prefix that is used to access the attributes.',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
displayName: 'cdata',
|
||||||
|
name: 'cdata',
|
||||||
|
type: 'boolean',
|
||||||
|
default: false,
|
||||||
|
description: ' wrap text nodes in <![CDATA[ ... ]]> instead of escaping when necessary. Does not add <![CDATA[ ... ]]> if it is not required.',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Character Key',
|
displayName: 'Character Key',
|
||||||
name: 'charkey',
|
name: 'charkey',
|
||||||
|
@ -104,6 +111,13 @@ export class Xml implements INodeType {
|
||||||
default: false,
|
default: false,
|
||||||
description: 'Omit the XML header.',
|
description: 'Omit the XML header.',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
displayName: 'Root Name',
|
||||||
|
name: 'rootName',
|
||||||
|
type: 'string',
|
||||||
|
default: 'root',
|
||||||
|
description: 'Root element name to be used.',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue