Class WFCDTD - Takes care of the DTD information needed by a WFC parser.

Class WFCDTD - Takes care of the DTD information needed by a WFC parser.

SYNOPSIS

import xmlproc
class WFCDTD(DTDConsumer)
  def __init__(self,parser,err)
  string __module__ = 'xmlproc'
  def external_entity(self,ent_name,sys_id,pub_id,ndata)
  def external_pe(self,name,sysid,pubid)
  def fatal(self,msg)
  def general_entity(self,name,val)
  def parameter_entity(self,name,val)
  def resolve_ent_ref(self,name)
  def resolve_pe(self,name)
  def set_error_handler(self,err)

  # Methods inherited by WFCDTD from DTDConsumer
  def attribute(self,elem,attr,a_type,a_def)
  def comment(self,contents)
  def element_type(self,elem_name,elem_cont)
  def notation(self,name,sysid,pubid)
  def warning(self,msg)

DESCRIPTION

def attribute(self,elem,attr,a_type,a_def)

Receives the declaration of a new attribute.

def comment(self,contents)

Receives comment contents.

def element_type(self,elem_name,elem_cont)

Receives the declaration of an element type.

def fatal(self,msg)

Handles a fatal error message.

def notation(self,name,sysid,pubid)

Receives notation declarations.

def resolve_ent_ref(self,name)

Resolve the general entity name and return associated info.

def resolve_pe(self,name)

Resolve the parameter reference name and return associated info.

def warning(self,msg)

Handles a non-fatal warning message.

SEE ALSO

xmlproc

DTDConsumer


Generated by HTMLFormatter at Sat Mar 21 11:51:56 1998