parse an XML string into an XML DOM object

Internet Explorer uses the loadXML() method to parse an XML string, while other browsers use the DOMParser object.