Added functionality to parse Spa data from Xml.