finished up the xml output file