Finally got the XML parsing to work.