Bookmark Topic Watch Topic
  • New Topic

MathML to Expression Conversion using Ecore

 
Anket Jain
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Report post to moderator
I m writing a parser to convert MAthML to Expression using Ecore but ...i have to search MathMl recursively for different operations as divide or Subtract and so on .....
For Eg :


<?xml version="1.0" encoding="ASCII"?>
<ml:math xmlns:ml="http://www.w3.org/1998/Math/MathML">
<ml:apply>
<ml:minus/>
<ml:apply>
<ml:minus/>
<ml:apply>
<ml:sum/>
<ml:ci>1</ml:ci>
<ml:ci>1</ml:ci>
</ml:apply>
<ml:ci>2</ml:ci>
</ml:apply>
<ml:ci>3</ml:ci>
</ml:apply>
</ml:math>



Now i want the output to be 1+1-2-3.....Pls help
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Report post to moderator
Don't post the same question multiple times.
 
    Bookmark Topic Watch Topic
  • New Topic