Table of Contents

Class: TestXMLParser Zope-2.2.1-src/lib/python/Shared/DC/xml/xmllib.py

Base Classes   
XMLParser
Methods   
__init__
close
flush
handle_cdata
handle_comment
handle_data
handle_doctype
handle_entity
handle_proc
handle_xml
syntax_error
unknown_charref
unknown_endtag
unknown_entityref
unknown_starttag
  __init__ 
__init__ ( self,  verbose=0 )

Interface

initialize and reset this instance

  close 
close ( self )

Interface

handle the remaining data

  flush 
flush ( self )

  handle_cdata 
handle_cdata ( self,  data )

Example

handle cdata, could be overridden

  handle_comment 
handle_comment ( self,  data )

Example

handle comment, could be overridden

  handle_data 
handle_data ( self,  data )

Example

handle data, should be overridden

  handle_doctype 
handle_doctype (
        self,
        tag,
        pubid,
        syslit,
        data,
        )

Overridable

handle DOCTYPE

  handle_entity 
handle_entity (
        self,
        name,
        strval,
        pubid,
        syslit,
        ndata,
        )

  handle_proc 
handle_proc (
        self,
        name,
        data,
        )

Example

handle processing instructions, could be overridden

  handle_xml 
handle_xml (
        self,
        encoding,
        standalone,
        )

Overridable

handle xml processing instruction

  syntax_error 
syntax_error ( self,  message )

Example

handle relatively harmless syntax errors, could be overridden

  unknown_charref 
unknown_charref ( self,  ref )

  unknown_endtag 
unknown_endtag ( self,  tag )

  unknown_entityref 
unknown_entityref ( self,  ref )

  unknown_starttag 
unknown_starttag (
        self,
        tag,
        attrs,
        )

To be overridden

handlers for unknown objects


Table of Contents

This document was automatically generated on Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6