Generate reference ID, and log outputs to XML file.