Working on xmlOutput