10. xml.dom.pulldom
— Support for building partial DOM trees¶
Contents
New in version 2.0.
xml.dom.pulldom
allows building only selected portions of a Document
Object Model representation of a document from SAX events.
Warning
The xml.dom.pulldom
module is not secure against
maliciously constructed data. If you need to parse untrusted or
unauthenticated data see XML vulnerabilities.
-
class
xml.dom.pulldom.
PullDOM
([documentFactory])[source]¶ xml.sax.handler.ContentHandler
implementation that ...
-
class
xml.dom.pulldom.
SAX2DOM
([documentFactory])[source]¶ xml.sax.handler.ContentHandler
implementation that ...