ASPN ActiveState Programmer Network
  ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups | Web Services
SEARCH

Reference
ActivePython 2.5
Python Documentation
Library Reference
8. Structured Markup Processing Tools
8.1 HTMLParser -- Simple HTML and XHTML parser
8.2 sgmllib -- Simple SGML parser
8.3 htmllib -- A parser for HTML documents
8.4 htmlentitydefs -- Definitions of HTML general entities
8.5 xml.parsers.expat -- Fast XML parsing using Expat
8.6 xml.dom -- The Document Object Model API
8.7 xml.dom.minidom -- Lightweight DOM implementation
8.8 xml.dom.pulldom -- Support for building partial DOM trees
8.8.1 DOMEventStream Objects
8.9 xml.sax -- Support for SAX2 parsers
8.10 xml.sax.handler -- Base classes for SAX handlers
8.11 xml.sax.saxutils -- SAX Utilities
8.12 xml.sax.xmlreader -- Interface for XML parsers
8.13 xml.etree.ElementTree -- The ElementTree XML API

MyASPN >> Reference >> ActivePython 2.5 >> Python Documentation >> Library Reference >> 8. Structured Markup Processing Tools
ActivePython 2.5 documentation

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.



See About this document... for information on suggesting changes.

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState 2004 All rights reserved