<p>A function that parses the <b>msg.payload</b> to convert xml to/from a javascript object. Places the result in the payload.</p>
<p>If the input is a string it tries to parse it as XML and creates a javascript object.</p>
<p>If the input is a javascript object it tries to build an XML string.</p>
<p>See <ahref="https://github.com/Leonidas-from-XIV/node-xml2js/blob/master/README.md"target="_new">the xml2js docs <i>here</i></a> for more information.</p>