xml.sax.xmlreader.XMLReader.getProperty()

XMLReader.getProperty(propertyname) Return the current setting for property propertyname. If the property is not recognized, a SAXNotRecognizedException is raised. The well-known propertynames are listed in the module xml.sax.handler.

xml.sax.xmlreader.XMLReader.parse()

XMLReader.parse(source) Process an input source, producing SAX events. The source object can be a system identifier (a string identifying the input source – typically a file name or a URL), a file-like object, or an InputSource object. When parse() returns, the input is completely processed, and the parser object can be discarded or reset. Changed in version 3.5: Added support of character streams.

xml.sax.xmlreader.XMLReader.getErrorHandler()

XMLReader.getErrorHandler() Return the current ErrorHandler.

xml.sax.xmlreader.XMLReader.getDTDHandler()

XMLReader.getDTDHandler() Return the current DTDHandler.

xml.sax.xmlreader.Locator.getColumnNumber()

Locator.getColumnNumber() Return the column number where the current event begins.

xml.sax.xmlreader.Locator

class xml.sax.xmlreader.Locator Interface for associating a SAX event with a document location. A locator object will return valid results only during calls to DocumentHandler methods; at any other time, the results are unpredictable. If information is not available, methods may return None.

xml.sax.xmlreader.XMLReader.getContentHandler()

XMLReader.getContentHandler() Return the current ContentHandler.

xml.sax.xmlreader.XMLReader

class xml.sax.xmlreader.XMLReader Base class which can be inherited by SAX parsers.

xml.sax.xmlreader.Locator.getLineNumber()

Locator.getLineNumber() Return the line number where the current event begins.

xml.sax.xmlreader.Locator.getSystemId()

Locator.getSystemId() Return the system identifier for the current event.