build xml 2