parse the xml.