Is it possible to set the ignoreWhiteSpace of the XMLDOM to false, so the spaces in the XML will not be eliminated?
The Parser eliminates the spaces by default.
None of the XML "options" are exposed in Javascript, so unfortunately that isn't possible. Our recommendation is to do the XML parsing on the server side (for more reasons than just this) and then return JSON to the widget.
-Jeremy