Output generation via XMLout, usage of clean data structures