XML`
XML`

XMLParser

XMLParser[root,"file"]

represents a parser object created by InitializeXMLParser for XML documents with a root element root and corresponding to the DTD "file".

Details and Options

  • To use XMLParser, you first need to load the XML Package using Needs["XML`"].
  • An XMLParser parser object can be used with XMLGet and XMLGetString to avoid reloading a DTD.

Examples

Basic Examples  (1)

Initialize a MathML parser (with a preloaded DTD):

ReleaseXMLParser frees up resources when the parser is done: