simplify xml