Class CatalogEntityHandler - Uses a catalog file to resolve entity system identifiers.

Class CatalogEntityHandler - Uses a catalog file to resolve entity system identifiers.

SYNOPSIS

import xmlutils
class CatalogEntityHandler
  def __init__(catalog)
  string __module__ = 'xmlutils'
  def changeEntity(self,systemID)
  def resolveEntity(entityName, publicID, systemID)

DESCRIPTION

def changeEntity(self,systemID)

Handle a change in the current entity URI. The systemID argument specifies the base URI that is now in force.

def resolveEntity(entityName, publicID, systemID)

Given the system identifier (URI) systemID, possibly accompanied by an entity name (entityName, with the special values [document] for the document entity and '[external dtd]' for the external DTD subset) and/or public identifier (publicID), return the system identifier that the parser should use to obtain the entity, or null, to instruct the parser to skip the entity (in which case the parser may report a validation error). In most cases, this method should return the suggested system identifier.

SEE ALSO

xmlutils


Generated by HTMLFormatter at Sat Mar 21 12:02:24 1998