You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see the method mapSDMXMLResponse expects a DOM object as input. Could the library also accept a string as input and internally build a DOM object out of it? That would ease the work of the clients a bit. Thanks!
The text was updated successfully, but these errors were encountered:
It looks like this could be possible as you should be able to parse XML from a string using the parseFromString method from the DOMParser object. All relatively recent browsers should support this.
var parser = new DOMParser();
var doc = parser.parseFromString(stringContainingXMLSource, "application/xml");
Thanks for this nice library :).
I see the method
mapSDMXMLResponse
expects a DOM object as input. Could the library also accept a string as input and internally build a DOM object out of it? That would ease the work of the clients a bit. Thanks!The text was updated successfully, but these errors were encountered: