Delete some xml related code.