def read_worksheet(xml_source, parent, preset_title, string_table, style_table, workbook_name=None, sheet_codename=None):
 if (workbook_name and sheet_codename):
  ws = IterableWorksheet(parent, preset_title, workbook_name, sheet_codename, xml_source)
 else:
  ws = Worksheet(parent, preset_title)
  fast_parse(ws, xml_source, string_table, style_table)
 return ws

def read_worksheet ( xml_source , parent , preset_title , string_table , style_table , workbook_name = None , sheet_codename = None ) : if ( workbook_name and sheet_codename ) : ws = IterableWorksheet ( parent , preset_title , workbook_name , sheet_codename , xml_source ) else : ws = Worksheet ( parent , preset_title ) fast_parse ( ws , xml_source , string_table , style_table ) return ws
read an xml worksheet .