buglabs/node-xml2json — pull request #58 by miira (2014-07-10 13:21:01+00:00)
Title: add sanitize options for toXml function. (& -> &amp;, etc.)

I needed to put '&' into the XML file in the entity form (&). The same sanitize function as in toJson function is used to achieve the result.

Second reason:
The options for toXml function were not used (resulted in [Object object] at the beginning of XML file, if you tried to use them), fixed README.