此为 Mathematica 7 文档,内容基于更早版本的 Wolfram 语言
查看最新文档(版本11.2)

FromSymbolicXML

FromSymbolicXML[expr]
converts a SymbolicXML expression expr to a more native format, if one is available.
  • To use FromSymbolicXML, you first need to load the XML Package using Needs["XML`"].
  • Given a SymbolicXML expression, FromSymbolicXML will attempt to interpret it.
Needs["XML`"]
Create an ExpressionML file using Export:
In[2]:=
Click for copyable input
Out[2]=
Import this ExpressionML file as SymbolicXML:
In[3]:=
Click for copyable input
Out[3]=
Use the output as the argument for FromSymbolicXML to interpret the SymbolicXML as a notebook expression:
In[4]:=
Click for copyable input
Out[4]=
 
Needs["XML`"]
Create a MathML file:
In[2]:=
Click for copyable input
Out[2]=
Import the file as SymbolicXML:
In[4]:=
Click for copyable input
Out[4]=
Use FromSymbolicXML to interpret the output as a box expression:
In[5]:=
Click for copyable input
Out[5]=