First iteration Create XML Output