hi Mark:
Are there any examples available for this implementation? (Mathml to
JSci Objects)?? I didn't find any such example in JSci package.
Thanks
Pavan
Mark Hale wrote:
>
> Hi,
>
> jsci-mathmlimpl is an implementation of the DOM MathML API. There is
> also a higher level JSci.io.MathMLParser which converts the DOM API
> directly into JSci objects. See documentation/JSci.io.html for more
> information. What you need to do is write a converter from the DOM, or
> the JSci objects into the Matlab API/representation.
>
> XML -> DOM (-> JSci) -> Mathlab
>
> I´m not familar with the matlab API, so I don´t know what sort of
> object representation it has. But at a guess, I assume it can evaluate
> matlab strings, something like matlabEval("5^2+4"), so you probably
> need to convert the MathML DOM into the matlab textual representation,
> and send it to the matlab evaluation engine.
>
> ----- Original Message ----
> From: avspavan <pavan@... <mailto:pavan%40purdue.edu>>
> To: jsci@yahoogroups.com <mailto:jsci%40yahoogroups.com>
> Sent: Monday, 27 November, 2006 5:49:30 PM
> Subject: [jsci] Mathml to Java Classes
>
> Hi:
>
> I am interested in sending mathml to Matlab through Java and solving
> the equations. But matlab inherently doesn't understand Mathml.
>
> I have come across the package (Jsci-mathmlimpl) which seems like will
> help me. I would like to know what exactly it does as I couldn't find
> any example that shows conversion of mathml to java objects?! Can Jsci
> convert given mathml to Java objects?? If so I think there are ways to
> make Matlab understand these Java objects and solve the equations and
> get the answer.
>
> Thanks
> Pavan
>
> Yahoo! Groups Links
>
> Send instant messages to your online friends
> http://uk.messenger.yahoo.com <http://uk.messenger.yahoo.com>
>
>
--
********************************************************************************\
*
Pavan (Akkisetty Venkata Sai Pavan Kumar)
Graduate Research Assistant
2008 FRNY Chemical Engineering
Purdue University
Office Phone:765-494-4083
310 N.Salisbury, Apt 3
West Lafayette
Indiana-47906
Cell Phone:765-413-8559