Converting to XML pull parsing.