8.8 xml.dom.pulldom -- Support for building partial DOM trees

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.

class PullDOM( [documentFactory])
xml.sax.handler.ContentHandler implementation that ...

class DOMEventStream( stream, parser, bufsize)
...

class SAX2DOM( [documentFactory])
xml.sax.handler.ContentHandler implementation that ...

parse( stream_or_string[, parser[, bufsize]])
...

parseString( string[, parser])
...

default_bufsize
Default value for the bufsize parameter to parse(). Changed in version 2.1: The value of this variable can be changed before calling parse() and the new value will take effect.



Subsections

Python Library Reference
Previous: Up: 8. Structured Markup Processing Next:

Release 2.5.2, documentation updated on 21st February, 2008.
See About this document... for information on suggesting changes.

AltStyle によって変換されたページ (->オリジナル) /