XMLElement

XMLElement[tag,{attr1val1,},{data1,}]

represents an element in symbolic XML.

Details

  • XMLElement[tag,{attr1->val1,},{data1,}] corresponds to XML of the form .
  • Both tag and the attri can either be strings, or pairs of strings, with the first string specifying a namespace.
  • The datai can consist of strings or XMLElement or XMLObject expressions.

Examples

Basic Examples  (3)

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

See Also

XMLObject  Import  Export  XMLTemplate

Tutorials

Introduced in 2002
(4.2)