changed xml parser from sax to pull