LxmlEventHandler¶
- class xsdata.formats.dataclass.parsers.handlers.LxmlEventHandler(parser, clazz)[source]¶
Event handler based on
lxml.etree.iterparse
api.- Parameters
- parse(source)[source]¶
Parse an XML document from a system identifier or an InputSource.
The xml parser will ignore comments, recover from errors. The parser will parse the whole document and then walk down the tree if the process xinclude is enabled.