import xmlutils
class CatalogEntityHandler def __init__(catalog) string __module__ = 'xmlutils' def changeEntity(self,systemID) def resolveEntity(entityName, publicID, systemID)
Handle a change in the current entity URI. The systemID argument specifies the base URI that is now in force.
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.