def create_table(self):
    'Create the table by creating an empty XML file.'
    table_path = os.path.join(self.opts['data_dir'], self.table_name())
    self.output_file = open_fw(table_path, encoding=self.encoding)
    self.output_file.write(u'<?xml version="1.0" encoding="UTF-8"?>')
    self.output_file.write(u'\n<root>')
    self.table_names.append((self.output_file, table_path))
    self.auto_column_number = 1
    if (self.script.name not in self.script_table_registry):
        self.script_table_registry[self.script.name] = []
    self.script_table_registry[self.script.name].append((self.table_name(), self.table))
Create the table by creating an empty XML file.
def create_table(self):
    
    table_path = os.path.join(self.opts['data_dir'], self.table_name())
    self.output_file = open_fw(table_path, encoding=self.encoding)
    self.output_file.write(u'<?xml version="1.0" encoding="UTF-8"?>')
    self.output_file.write(u'\n<root>')
    self.table_names.append((self.output_file, table_path))
    self.auto_column_number = 1
    if (self.script.name not in self.script_table_registry):
        self.script_table_registry[self.script.name] = []
    self.script_table_registry[self.script.name].append((self.table_name(), self.table))