def read_string_table(xml_source):
    """Read in all shared strings in the table"""
    strings = []
    src = _get_xml_iter(xml_source)

    for _, node in iterparse(src):
        if node.tag == '{%s}si' % SHEET_MAIN_NS:

            text = Text.from_tree(node).content
            text = text.replace('x005F_', '')
            strings.append(text)

            node.clear()

    return IndexedList(strings)
def read_string_table ( xml_source ) : strings = [ ] src = _get_xml_iter ( xml_source ) for _ , node in iterparse ( src ) : if node . tag == '{%s}si' % SHEET_MAIN_NS : text = Text . from_tree ( node ) . content text = text . replace ( 'x005F_' , '' ) strings . append ( text ) node . clear ( ) return IndexedList ( strings )
Read in all shared strings in the table