def add_directory(self, dirname):
        for filename in os.listdir(dirname):
            (name, ext) = os.path.splitext(filename)
            if ext.lower() in (".xml"):
                path = os.path.join(dirname, filename)
                self.add_file(path)
Adds all the .xml files in the given directory
dataset/ETHPy150Open boakley/robotframework-workbench/rwb/lib/keywordtable.py/KeywordTable.add_directory