Class XML_catalog - An SGML Open catalog file handler

Class XML_catalog - An SGML Open catalog file handler

SYNOPSIS

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)

DESCRIPTION

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

def read_catalog(self,infile)

Reads a catalog file from the infile parameter.

def resolveDoctypeFPI(self,fpi)

Returns the correct system identifier for this document type FPI.

def resolveDocumentFPI(self,fpi)

Returns the correct system identifier for this document FPI.

def resolveGE_FPI(self,fpi)

Returns the correct system identifier for this general entity FPI.

def resolvePE_FPI(self,fpi)

Returns the correct system identifier for this general entity FPI.

SEE ALSO

xmlutils


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