Sign in to Community
Sign in to view all badges
This has been broken for a fair while now. There are heaps of working code formatters available on the web.
var doc = DOMDocument.fromXMLString(r.body);
var responseNode = doc.getElementsByTagName("response");
var success = responseNode.getAttribute("success");