def load(self, path):
        """
        Load report from XML file.
        """
        with open(path, 'rb') as f:
            self.data = f.read()
            self.root = et.fromstring(self.data)
def load ( self , path ) : with open ( path , 'rb' ) as f : self . data = f . read ( ) self . root = et . fromstring ( self . data )
Load report from XML file.