示例#1
0
def load_string(string):
    root = ET.fromstring(string)
    for omath in root.findall(OMML_NS + 'oMath'):
        yield oMath2Latex(omath)
示例#2
0
def load_string(string):
	root = ET.fromstring(string)
	for omath in root.findall(OMML_NS+'oMath'):
		yield oMath2Latex(omath)
示例#3
0
def load(stream):
    tree = ET.parse(stream)
    for omath in tree.findall(OMML_NS + 'oMath'):
        yield oMath2Latex(omath)
示例#4
0
def load(stream):
	tree = ET.parse(stream)
	for omath in tree.findall(OMML_NS+'oMath'):
		yield oMath2Latex(omath)