Got the XML parser working