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