XML`
XML`
FromSymbolicXML
FromSymbolicXML[expr]
converts a SymbolicXML expression expr to a more native format, if one is available.
Details and Options
- To use FromSymbolicXML, you first need to load the XML Package using Needs["XML`"].
- FromSymbolicXML is the inverse of ToSymbolicXML.
- Given a SymbolicXML expression, FromSymbolicXML will attempt to interpret it.
Examples
Basic Examples (2)Summary of the most common use cases
In[1]:=1

✖
https://wolfram.com/xid/0kg06k9zryi-bbw5da
Create an ExpressionML file using Export:
In[2]:=2

✖
https://wolfram.com/xid/0kg06k9zryi-su1
Out[2]=2

Import this ExpressionML file as SymbolicXML:
In[3]:=3

✖
https://wolfram.com/xid/0kg06k9zryi-vk5
Out[3]=3

Use the output as the argument for FromSymbolicXML to interpret the SymbolicXML as a notebook expression:
In[4]:=4

✖
https://wolfram.com/xid/0kg06k9zryi-pte
Out[4]=4

In[1]:=1

✖
https://wolfram.com/xid/0kg06k9zryi-mc51q
In[2]:=2

✖
https://wolfram.com/xid/0kg06k9zryi-jbo
Out[2]=2

In[3]:=3

✖
https://wolfram.com/xid/0kg06k9zryi-sxm
Import the file as SymbolicXML:
In[4]:=4

✖
https://wolfram.com/xid/0kg06k9zryi-uyj
Out[4]=4

Use FromSymbolicXML to interpret the output as a box expression:
In[5]:=5

✖
https://wolfram.com/xid/0kg06k9zryi-blf
Out[5]=5
