def METHOD_NAME(self):
    res  = '<?xml version="1.0"?>\n'
    res += '<?xml-stylesheet type="text/xsl" href="bvtest.xsl"?>\n'
    info  = 'host="%s" '  % self.host
    info += 'user="%s" '  % self.user
    info += 'arch="%s" '  % self.arch
    info += 'odir="%s" '  % self.odir
    info += 'libs="%s" '  % str(self.libcmds)
    info += 'start="%s" ' % self.start_time
    info += 'end="%s" '   % self.end_time
    res += "<bvtest %s >\n" % info
    res += "  <results>\n"
    for r in self.results:
        res += r.to_xml("  ")
    res +="  </results>\n"
    res +="</bvtest>\n"
    return res