Allows the application to provide an artificial external subset if one is not specified as part of the document instance.
This readily allows the use of a 'default' document type controlled by the application, while still getting the advantage of providing document type information to the parser. 'flag' defaults to True if not provided.SetParamEntityParsing($self, flag, /) --
Controls parsing of parameter entities (including the external DTD subset).
Possible flag values are XML_PARAM_ENTITY_PARSING_NEVER, XML_PARAM_ENTITY_PARSING_UNLESS_STANDALONE and XML_PARAM_ENTITY_PARSING_ALWAYS. Returns true if setting the flag was successful.ExternalEntityParserCreate($self, context, encoding=None, /) --
Create a parser for parsing an external entity based on the information passed to the ExternalEntityRefHandler.GetInputContext($self, /) --
Return the untranslated text of the input that caused the current event.
If the event was generated by a large amount of text (such as a start tag for an element with many attributes), not all of the text may be available.GetBase($self, /) --
Return base URL string for the parser.SetBase($self, base, /) --
Set the base URL for the parser.ParseFile($self, file, /) --
Parse XML data from file-like object.Parse($self, data, isfinal=False, /) --
Parse XML data.
`isfinal' should be true at end of input.XML parserErrorString($module, code, /) --
Returns string error for given number.ParserCreate($module, /, encoding=None, namespace_separator=None, intern=None) --