Open jorisroling opened 12 years ago
Hi Dan,
I'd like to hand over something other than the default options to the xml2js constructor, like this.
instead of:
var parser = new xml2js.Parser();
I'd like to have it do
var parser = new xml2js.Parser({normalize: false});
Would it be possible to somehow give restler the options object so it constructs xml2js with it?
(The normalizer otherwise destroys valueable whitespace, that's why...)
Regards, Joris
Yes. I will have to think of a good way to pass through options. Any suggestions welcome.
Hi Dan,
I'd like to hand over something other than the default options to the xml2js constructor, like this.
instead of:
I'd like to have it do
Would it be possible to somehow give restler the options object so it constructs xml2js with it?
(The normalizer otherwise destroys valueable whitespace, that's why...)
Regards, Joris