'Get a table by its ordinal position in the file.'

def get_table_by_index(self, idx):

    for (i, table) in enumerate(self.iter_tables()):
        if (i == idx):
            return table
    raise IndexError(u'No    table    at    index    {:d}    found    in    VOTABLE    file.'.format(idx))
