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