xml.sax.handler.ContentHandler.endElement()
  • References/Python/Python/Structured Markup

ContentHandler.endElement(name) Signals the end of an element in non-namespace mode. The name

2025-01-10 15:47:30
xml.parsers.expat.xmlparser.ErrorColumnNumber
  • References/Python/Python/Structured Markup

xmlparser.ErrorColumnNumber Column number at which an error occurred.

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

doctype(name, pubid, system) Handles a doctype declaration. name is the doctype name. pubid is the public

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

HTMLParser.handle_comment(data) This method is called when a comment is encountered (e.g. <!--comment-->)

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

class xml.etree.ElementTree.XMLParser(html=0, target=None, encoding=None) This class is the low-level building block of the

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

find(match, namespaces=None) Same as Element.find(), starting at the root of the tree.

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

DocumentType.publicId The public identifier for the external subset of the document type definition. This will be a string or

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

Document.documentElement The one and only root element of the document.

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

html.escape(s, quote=True) Convert the characters &, < and > in string s

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

InputSource.setByteStream(bytefile) Set the byte stream (a binary file) for this input

2025-01-10 15:47:30