SymbolicXMLErrors

SymbolicXMLErrors[expr]
returns a list of part specifications indicating where there are errors in the SymbolicXML expression expr and a message about the nature of each error.

更多信息更多信息

  • To use , you first need to load the XML Package using Needs["XML`"].
  • This function is intended as a utility for debugging only.

范例范例打开所有单元关闭所有单元

基本范例 (1)基本范例 (1)

In[1]:=
Click for copyable input

A SymbolicXML expression with one small error:

In[2]:=
Click for copyable input

SymbolicXMLQ indicates that there is an error:

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

returns a part specification indicating where the error occurred, and a message indicating the nature of the problem:

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

The XMLElement only has two arguments—the list for the attributes is missing:

In[5]:=
Click for copyable input
Out[5]=
New to Mathematica? Find your learning path »
Have a question? Ask support »