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

Element.setAttributeNS(namespaceURI, qname, value) Set an attribute value from a string, given a namespaceURI and a

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

Document.createAttribute(name) Create and return an attribute node. This method does not associate the attribute node with any

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

HTMLParser.handle_entityref(name) This method is called to process a named character reference of the form &name;

2025-01-10 15:47:30
xml.sax.saxutils.prepare_input_source()
  • References/Python/Python/Structured Markup

xml.sax.saxutils.prepare_input_source(source, base='') This function takes an input source and an optional base URL and returns

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

Node.parentNode The parent of the current node, or None for the document node. The value is always a Node

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

DOMImplementation.hasFeature(feature, version) Return true if the feature identified by the pair of strings feature

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

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

2025-01-10 15:47:30
xml.etree.ElementTree.TreeBuilder
  • References/Python/Python/Structured Markup

class xml.etree.ElementTree.TreeBuilder(element_factory=None) Generic element structure builder. This builder converts a sequence

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

HTMLParser.handle_startendtag(tag, attrs) Similar to handle_starttag(), but called when the parser encounters an

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

class xml.sax.xmlreader.IncrementalParser In some cases, it is desirable not to parse an input source at once, but to feed chunks

2025-01-10 15:47:30