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
Examples
Basic Examples
See Also
Tech Notes
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)
Needs["XML`"]Initialize a MathML parser (with a preloaded DTD):
mathMLParser = InitializeXMLParser["math", "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd"]ReleaseXMLParser frees up resources when the parser is done:
ReleaseXMLParser[mathMLParser]