Create a new XML parser
Optionaloptions: XMLParserOptionsParser configuration options
ReadonlycolumnCurrent column number in the XML document
ReadonlylineCurrent line number in the XML document
Register an event handler
Event name
Event handler function
this for chaining
Parse XML data
XML string to parse
OptionalisFinal: booleanWhether this is the final chunk (default: true)
true if parsing succeeded, false otherwise
Reset the parser to initial state
Optionalencoding: stringOptional encoding to use after reset
Stop the parser
XML Parser Class