Generic constructor; forwards its arguments to the lexer constructor
See detailed documentation in newxml.interfaces.isParser
See detailed documentation in newxml.interfaces.isParser
The structure returned in output from the low level parser. Represents an XML token, delimited by specific patterns, based on its kind. This delimiters are not present in the content field.
Contains character and text entities. Text entities might contain additional nodes and elements. By default, it is filled with XML entities.
The lexer associated with the parser.
if set to true (default is false), the parser will try to parse any and all badly formed document as long as it can be processed.
if set to true (which is default), then the parser will test for invalid characters, and will throw an exception on errors. Turning it off can speed up parsing.
the underlying lexer type
if set to Yes (default is No), the parser will not remove element content whitespace (i.e. the whitespace that separates tags), but will report it as text.
A low level XML parser.
The methods a parser should implement are documented in newxml.interfaces.isLexer;