XML printing from ResultList object