def read_string_table(xml_source):
 table = {}
 xmlns = 'http://schemas.openxmlformats.org/spreadsheetml/2006/main'
 root = fromstring(text=xml_source)
 string_index_nodes = root.findall(QName(xmlns, 'si').text)
 for (index, string_index_node) in enumerate(string_index_nodes):
  table[index] = get_string(xmlns, string_index_node)
 return table

def read_string_table ( xml_source ) : table = { } xmlns = 'http://schemas.openxmlformats.org/spreadsheetml/2006/main' root = fromstring ( text = xml_source ) string_index_nodes = root . findall ( QName ( xmlns , 'si' ) . text ) for ( index , string_index_node ) in enumerate ( string_index_nodes ) : table [ index ] = get_string ( xmlns , string_index_node ) return table
read in all shared strings in the table .