I'd like to convert a MathML expression to an equation string in python, for which the MathDOM module should be good for.
An example would be:
<math xmlns="http://www.w3.org/1998/Math/MathML">
<lambda>
<bvar><ci>A</ci></bvar>
<bvar><ci>B</ci></bvar>
<apply>
<plus/>
<ci>A</ci>
<ci>B</ci>
</apply>
</lambda>
</math>
should map to "A + B". This should obviously work with more complex expressions.
However, it is quite old and not working properly with new versions of the xml module (trying to include the wrong module structure, etc.)
Does anyone know useful alternatives?