There are two kinds of parser types: One that optimises one-time access to the DOM tree and one that creates a persistent DOM tree.
These enum values are used
Called by the SGML parser when a parsing error has occurred.
If the return code is not SGML_PARSER_CODE_OK the parsing will be ended and that code will be returned.
Initialise an SGML parser with the given properties.
|type||Stream or tree; one-time or persistant.|
|doctype||The document type, this affects what sub type nodes are given.|
|uri||The URI of the document root.|
|flags||Flags controlling the behaviour of the parser.|
Deallocates all resources, _expect_ the root node.
|parser||The parser being released.|