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

ReleaseXMLParser

ReleaseXMLParser[parser]
frees up resources associated with the XMLParser object parser.
  • To use ReleaseXMLParser, 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. ReleaseXMLParser frees up resources when the parser is done.
Needs["XML`"]
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