此为 Mathematica 7 文档,内容基于更早版本的 Wolfram 语言
查看最新文档(版本11.1)

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 SymbolicXMLErrors, you first need to load the XML Package using Needs["XML`"].
  • This function is intended as a utility for debugging only.
Needs["XML`"]
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]=
SymbolicXMLErrors 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]=