This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes MathML to Expression Conversion using Ecore Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

MathML to Expression Conversion using Ecore

Anket Jain
Greenhorn

Joined: May 02, 2007
Posts: 4
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

Joined: Aug 05, 2005
Posts: 3409
    
  12
Don't post the same question multiple times.


Joanne
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: MathML to Expression Conversion using Ecore
 
Similar Threads
MathML to Expression Conversion using Ecore
MathML to Expression Conversion using Ecore
questions regarding regular expressions
xsl symbols &#
XPath expression