resolve xml