updated xml parser to include http request