6 - build xml