def diffXml(self, xml1, xml2, **kwargs):
        first_xml = open(xml1, 'r')
        second_xml = open(xml2, 'r')
        dom1 = minidom.parseString(first_xml.read())
        dom2 = minidom.parseString(second_xml.read())

        self.unsetBoostVersion(dom1)
        self.unsetBoostVersion(dom2)

        first_xml.close()
        second_xml.close()

        res = self.isEqualElement(dom1.documentElement, dom2.documentElement)
        if res == True:
            return 0
        else:
            self.diff(xml1, xml2, **kwargs)
            return 1