generate xml results