I need to parse the MathML in XML using php
Here the sample code for MathML in my XML (ref):
<mathDisplay numbered="yes" id="van005-mdis-0001">
<mrow>
<mrow selected="true">
<msup><mo>sin</mo><mn>2</mn></msup>
<mi>θ</mi>
<mo>+</mo>
<msup><mo>cos</mo><mn>2</mn></msup>
<mi>θ</mi>
<mo>=</mo><mn>1</mn>
</mrow>
</mrow1>
</mathDisplay>
Please help me to parse the mathml from XML in php