wankdanker / node-object-to-xml

Convert any JavaScript object to XML
MIT License
19 stars 8 forks source link

Displaying attribute with no value #13

Open real050280 opened 7 years ago

real050280 commented 7 years ago

If I just want to display the attribute(s) even with no value, how should I do that ?

For example:

<MESSAGE sent="2017-09-27" language="" from="me@gmail.com">
 ...