ReleaseXMLParser

ReleaseXMLParser[parser]
frees up resources associated with the XMLParser object parser.

更多信息更多信息

  • To use , you first need to load the XML Package using Needs["XML`"].
  • InitializeXMLParser can be used to preload a DTD. If many documents with the same DTD are to be loaded repeatedly, a pre-initialized parser can speed up processing. frees up resources when the parser is done.

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

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

In[1]:=
Click for copyable input

Initialize a MathML parser (with a preloaded DTD):

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

Once done with the parser, release resources it was using:

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