def buildFromPMathml(etree, plotter):
    handler = MathMLHandler(plotter)
    etree.saxify(handler)
    return handler.buildTree()
Exemple #2
0
def parseString(s, plotter):
    handler = MathMLHandler(plotter)
    xml.sax.parseString(s, handler)
    return handler.buildTree()