build xml