Navigation

xml.dom.pulldom — Support for building partial DOM trees

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.ContentHandler implementation that ...
class xml.dom.pulldom.DOMEventStream(stream, parser, bufsize)
...
class xml.dom.pulldom.SAX2DOM([documentFactory])
xml.sax.handler.ContentHandler implementation that ...
xml.dom.pulldom.parse(stream_or_string[, parser[, bufsize]])
...
xml.dom.pulldom.parseString(string[, parser])
...
xml.dom.pulldom.default_bufsize

Default value for the bufsize parameter to parse().

The value of this variable can be changed before calling parse() and the new value will take effect.

DOMEventStream Objects

DOMEventStream.getEvent()
...
DOMEventStream.expandNode(node)
...
DOMEventStream.reset()
...

Table Of Contents

Previous topic

xml.dom.minidom — Lightweight DOM implementation

Next topic

xml.sax — Support for SAX2 parsers

This Page

Navigation

© Copyright 1990-2009, Python Software Foundation. Last updated on Feb 14, 2009. Created using Sphinx 0.6.

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