write a Function of parseXml for cross-browser in supportInBrowsers.js