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

Element.removeAttribute(name) Remove an attribute by name. If there is no matching attribute, a NotFoundErr is

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

Node.firstChild The first child of the node, if there are any, or None. This is a read-only attribute.

2025-01-10 15:47:30
xml.parsers.expat.ParserCreate()
  • References/Python/Python/Structured Markup

xml.parsers.expat.ParserCreate(encoding=None, namespace_separator=None) Creates and returns a new xmlparser object

2025-01-10 15:47:30
xml.etree.ElementTree.Element.set()
  • References/Python/Python/Structured Markup

set(key, value) Set the attribute key on the element to value.

2025-01-10 15:47:30
html.entities.codepoint2name
  • References/Python/Python/Structured Markup

html.entities.codepoint2name A dictionary that maps Unicode code points to HTML entity names.

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

InputSource.getEncoding() Get the character encoding of this InputSource.

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

InputSource.setSystemId(id) Sets the system identifier of this InputSource.

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

Document.createElementNS(namespaceURI, tagName) Create and return a new element with a namespace. The tagName may have

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

HTMLParser.get_starttag_text() Return the text of the most recently opened start tag. This should not normally be needed for

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

Attr.localName The part of the name following the colon if there is one, else the entire name. This is a read-only attribute

2025-01-10 15:47:30