Class EntityHandler - An entity handler for the parser.

Class EntityHandler - An entity handler for the parser.

SYNOPSIS

import xmlapp
class EntityHandler
  def __init__(self,err)
  string __module__ = 'xmlapp'
  def resolve_ent_ref(self,entname)
  def set_error_handler(self,err)

DESCRIPTION

def resolve_ent_ref(self,entname)

Resolves an entity reference and returns its contents. The default method only resolves the predefined entities. Returns a 2-tuple (n,m) where n is true if the entity is internal. For internal entities m is the value, for external ones it is the system id.

def set_error_handler(self,err)

Set the object to send error events to.

SEE ALSO

xmlapp


Generated by HTMLFormatter at Sat Mar 21 12:00:18 1998