import xmlutils
class XML_catalog def __init__(self) string __module__ = 'xmlutils' def read_catalog(self,infile) def resolveDoctypeFPI(self,fpi) def resolveDocumentFPI(self,fpi) def resolveGE_FPI(self,fpi) def resolvePE_FPI(self,fpi) def resolve_fpi(self,fpi)
Only handles a simple syntax subset. Each entry must be on separate lines and all non-keywords must be quoted with "s. Comments must be on separate lines and start the line with --.
(The bit below is ugly due to a gendoc bug. Sorry.)
Omissions: - LINKTYPE: does not apply to XML - SGMLDECL: does not apply to XML - OVERRIDE: not fully understood yet - SYSTEM: not fully understood yet - DOCUMENT: does not seem too useful - BASE: too complex for now - DELEGATE: too complex for now
Reads a catalog file from the infile parameter.
Returns the correct system identifier for this document type FPI.
Returns the correct system identifier for this document FPI.
Returns the correct system identifier for this general entity FPI.
Returns the correct system identifier for this general entity FPI.