XML
Node Documentation
Converts between an XML string and its JavaScript object representation, in either direction.
Inputs
Outputs
Details
When converting between XML and an object, any XML attributes are added as a property named $
by default. Any text content is added as a property named _
. These property names can be specified in the node configuration.
For example, the following XML will be converted as shown:
<p class="tag">Hello World</p>
{ "p": { "$": { "class": "tag" }, "_": "Hello World" } }