buglabs/node-xml2json — Issue #11: produced xml with ' instead of "
Author: rednaxus
Created: 2011-12-07 05:25:10+00:00
State: open

Hi

I'm having trouble with some systems out there when the json2xml produces xml with ' instead of "

so i changed line 41 in my local json2xml code to

xml += ' ' + key + '="' + obj[key] + '">';

to get it to work.

I'm not sure what the more accepted standard is, but it seems like some servers don't do it right, and the " seems to be more acceptable. Maybe you could have an option in the args