XML`
XML`

ReleaseXMLParser

ReleaseXMLParser[parser]

frees up resources associated with the XMLParser object parser.

Details and Options

  • 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.

Examples

Basic Examples  (1)

Initialize a MathML parser (with a preloaded DTD):

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