Switched to SimpleXML for parsing XML.