Element.hasAttributeNS(namespaceURI, localName) Returns true if the element has an attribute named by namespaceURI
InputSource.getByteStream() Get the byte stream for this input source. The getEncoding method
XMLReader.setProperty(propertyname, value) Set the propertyname to value. If the property is not recognized
XMLReader.setLocale(locale) Allow an application to set the locale for errors and warnings. SAX
ContentHandler.startPrefixMapping(prefix, uri) Begin the scope of a prefix-URI Namespace mapping. The
Element.hasAttribute(name) Returns true if the element has an attribute named by name.
xml.sax.parse(filename_or_stream, handler, error_handler=handler.ErrorHandler()) Create a SAX parser and use it to parse a document
HTMLParser.close() Force processing of all buffered data as if it were followed by an end-of-file mark. This method may be redefined
class xml.sax.saxutils.XMLFilterBase(base) This class is designed to sit between an
exception xml.sax.SAXException(msg, exception=None) Encapsulate an XML error or warning. This class can contain basic error
Page 31 of 34