built the basic reiteration of the xml