19.8. xml.dom.pulldom — Support for building partial DOM trees¶
2.0 版新加入.
xml.dom.pulldom allows building only selected portions of a Document
Object Model representation of a document from SAX events.
-
class
xml.dom.pulldom.PullDOM([documentFactory])¶ xml.sax.handler.ContentHandlerimplementation that …
-
class
xml.dom.pulldom.DOMEventStream(stream, parser, bufsize)¶ …
-
class
xml.dom.pulldom.SAX2DOM([documentFactory])¶ xml.sax.handler.ContentHandlerimplementation that …
-
xml.dom.pulldom.parse(stream_or_string[, parser[, bufsize]])¶ …
-
xml.dom.pulldom.parseString(string[, parser])¶ …
