XML Package >

ToVerboseXML

ToVerboseXML[expr]
generates an equivalent SymbolicXML expression that explicitly exposes all the namespace information for elements and attributes in expr.

exposes only namespaces that match pattern.
  • To use , you first need to load the XML Package using .
  • The following option can be given:
"AttributesDefaultNameSpace""NullNameSpace"controls how attribute namespaces are expanded
Create some sample XML:
gives explicit namespace information for elements. With the default value of , the namespaces of attributes are set to an empty string ():
With set to , the namespace of the enclosing element is used:
Needs["XML`"]
Create some sample XML:
In[2]:=
Click for copyable input
gives explicit namespace information for elements. With the default value of , the namespaces of attributes are set to an empty string ():
In[3]:=
Click for copyable input
Out[3]=
With set to , the namespace of the enclosing element is used:
In[4]:=
Click for copyable input
Out[4]=
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF