initial parsing and printing of XML setup