Simplify parsing XML