Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

MathML of input expression

  • To: mathgroup at
  • Subject: [mg64942] MathML of input expression
  • From: DavidT <dtausky at>
  • Date: Wed, 8 Mar 2006 01:00:16 -0500 (EST)
  • Sender: owner-wri-mathgroup at

How can I get Mathematica to generate the Presentation 
MathML of the input expression rather than of the output
In[10]:= â?«x dx (the way this is entered is \[Integral] x \[DifferentialD] x)

Out[10]= x^2/2

In[11]:= XML`MathML`ExpressionToMathML[In[10],"Formats"->"PresentationMathML"]

Out[11]= <math xmlns=''>

I was expecting the following output 
(since I asked for the MathML of the In[10] not Out[10]):
<math xmlns=''><mrow><mo>&Integral;</mo><mi>x</mi><mo>&InvisibleTimes;</mo><mrow><mo>&DifferentialD;</mo><mi>x</mi></mrow></mrow></math>


  • Prev by Date: Re: mathematica to word
  • Next by Date: Re: Distinguished logarithm, branch cuts, etc.
  • Previous by thread: Re: Listable functions with two brackets f[][] (SubValues)
  • Next by thread: Re: MathML of input expression