amend using xstream for parsing xml