I use xml2js to generate xml files.
Since I use double quotes inside my attribute values, I would like to use single quotes to surround the attribute values.
As I couldn't find any option to do this, I currently need to patch the library every time I reinstall it.
It would be cool, if the renderOpts include something like quoting: "single" | "double".
I use xml2js to generate xml files. Since I use double quotes inside my attribute values, I would like to use single quotes to surround the attribute values. As I couldn't find any option to do this, I currently need to patch the library every time I reinstall it. It would be cool, if the
renderOpts
include something likequoting: "single" | "double"
.