xml.dom.Element.hasAttributeNS()
  • References/Python/Python/Structured Markup

Element.hasAttributeNS(namespaceURI, localName) Returns true if the element has an attribute named by namespaceURI

2025-01-10 15:47:30
xml.dom.InuseAttributeErr
  • References/Python/Python/Structured Markup

exception xml.dom.InuseAttributeErr Raised when an attempt is made to insert an Attr node that is already present

2025-01-10 15:47:30
xml.sax.handler.property_xml_string
  • References/Python/Python/Structured Markup

xml.sax.handler.property_xml_string value: "http://xml.org/sax/properties/xml-string"

2025-01-10 15:47:30
xml.dom.Node.cloneNode()
  • References/Python/Python/Structured Markup

Node.cloneNode(deep) Clone this node. Setting deep means to clone all child nodes as well. This returns the clone.

2025-01-10 15:47:30
xml.sax.handler.ContentHandler.setDocumentLocator()
  • References/Python/Python/Structured Markup

ContentHandler.setDocumentLocator(locator) Called by the parser to give the application a locator for locating the origin of

2025-01-10 15:47:30
xml.dom.registerDOMImplementation()
  • References/Python/Python/Structured Markup

xml.dom.registerDOMImplementation(name, factory) Register the factory function with the name name. The factory

2025-01-10 15:47:30
html.parser.HTMLParser.handle_pi()
  • References/Python/Python/Structured Markup

HTMLParser.handle_pi(data) Method called when a processing instruction is encountered. The data parameter will contain

2025-01-10 15:47:30
html.parser.HTMLParser.close()
  • References/Python/Python/Structured Markup

HTMLParser.close() Force processing of all buffered data as if it were followed by an end-of-file mark. This method may be redefined

2025-01-10 15:47:30
xml.sax.xmlreader.XMLReader.setLocale()
  • References/Python/Python/Structured Markup

XMLReader.setLocale(locale) Allow an application to set the locale for errors and warnings. SAX

2025-01-10 15:47:30
xml.dom.Node.localName
  • References/Python/Python/Structured Markup

Node.localName The part of the tagName following the colon if there is one, else the entire tagName

2025-01-10 15:47:30