Add additional options to XML-Node

This commit is contained in:
Jan Oberhauser 2020-02-11 08:03:24 -08:00
parent 1391bf39c6
commit d44f67e55d

View file

@ -90,6 +90,13 @@ export class Xml implements INodeType {
default: '$',
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',
name: 'charkey',
@ -104,6 +111,13 @@ export class Xml implements INodeType {
default: false,
description: 'Omit the XML header.',
},
{
displayName: 'Root Name',
name: 'rootName',
type: 'string',
default: 'root',
description: 'Root element name to be used.',
},
],
},