ToSymbolicXML

ToSymbolicXML[expr]
converts an expression expr to an appropriate XML format and returns the result as SymbolicXML.

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

In[1]:=
Click for copyable input

The expression returned in the corresponding SymbolicXML:

In[2]:=
Click for copyable input
Out[2]=
In[1]:=
Click for copyable input

A notebook expression results in SymbolicXML representing ExpressionML:

In[2]:=
Click for copyable input
Out[2]=
In[1]:=
Click for copyable input

can control the conversion of raw XML string segments enclosed within the RawXML wrapper:

In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=

(The default setting for the option, Automatic, is equivalent to True.)

This provides an alternative to ImportString for converting a segment of text XML to SymbolicXML:

In[5]:=
Click for copyable input
Out[5]=
Translate this page: