75
href="/webMathematica/Resources/XSL/mathml.xsl"?>  
Integrate Result
MSPPageOptions[ "ContentType"  > "text/xml"];
res = Null;
If[ MSPValueQ[ $$fun],
fun = MSPToExpression[ $$fun];
int = Integrate[ fun, x];
If[ Head[int ] === Integrate, int = "Unknown"]] ;

Integration of a function, formatting into MathML.

FunctionIntegral
MSPFormat[ fun,
MathMLForm]
MSPFormat[ int,
MathMLForm]
This uses the MathML stylesheet, which here is assumed to be installed in the webMathematica web application in
the  directory  XSL.  The  output  content  type  is  set  to  text/xml,  and  the  necessary  computation  in  Mathematica  is
carried out.
When this example works, it might be interesting to use the View Source menu of your browser. It should be noted
how the MathML flows naturally with the XHTML. Also note how the document does not state the physical size of
each  mathematical  expression.  This  is  very useful  because  the  size will only be  known accurately when  the docu 
ment is rendered in the browser.
 .
<





New Page 1








Home : About Us : Network : Services : Support : FAQ : Control Panel : Order Online : Sitemap : Contact : Terms Of Service

 

Our web partners:  Jsp Web Hosting  Unlimited Web Hosting  Cheapest Web Hosting  Java Web Hosting  Web Templates  Best Web Templates  Web Design Templates  Interland Web Hosting  Cheap Web Hosting  Filemaker Web Hosting  Tomcat Web Hosting  Quality Web Hosting  Best Web Hosting  Mac Web Hosting

 
 

Virtualwebstudio. Business web hosting division of Vision Web Hosting Inc. All rights reserved

Comcast Web Hosting