Revert "put xml code back"

This reverts commit a14f12ff88fdccd22a88090c6665caa314397418.