html.entities.name2codepoint
  • References/Python/Python/Structured Markup

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

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

xml.etree.ElementTree.XMLID(text, parser=None) Parses an XML section from a string constant, and also returns a dictionary which

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

xml.etree.ElementTree.XML(text, parser=None) Parses an XML section from a string constant. This function can be used to embed

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

ErrorHandler.error(exception) Called when the parser encounters a recoverable error. If this method does not raise an exception

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

InputSource.setCharacterStream(charfile) Set the character stream (a text file) for this

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

ContentHandler.ignorableWhitespace(whitespace) Receive notification of ignorable whitespace in element content.

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

HTMLParser.feed(data) Feed some text to the parser. It is processed insofar as it consists of complete elements; incomplete

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

HTMLParser.unknown_decl(data) This method is called when an unrecognized declaration is read by the parser.

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

xml.sax.saxutils.quoteattr(data, entities={}) Similar to escape(), but also prepares data to be used as

2025-01-10 15:47:30
XML Processing Modules
  • References/Python/Python/Structured Markup

Source code: Lib/xml/

2025-01-10 15:47:30