ReleaseXMLParser[parser]
frees up resources associated with the XMLParser object parser.
Details and Options
Examples
Basic Examples
See Also
Tech Notes
Related Guides
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)
Needs["XML`"]Initialize a MathML parser (with a preloaded DTD):
mathMLParser = InitializeXMLParser["math", "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd"]Once done with the parser, release resources it was using:
ReleaseXMLParser[mathMLParser]