xml.sax.saxutils.escape()
  • References/Python/Python/Structured Markup

xml.sax.saxutils.escape(data, entities={}) Escape '&', '<', and '>' in a string

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

iter(tag=None) Creates and returns a tree iterator for the root element. The iterator loops over all elements in this tree,

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

ContentHandler.startElement(name, attrs) Signals the start of an element in non-namespace mode. The

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

exception xml.dom.SyntaxErr Raised when an invalid or illegal string is specified.

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.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.entities.entitydefs
  • References/Python/Python/Structured Markup

html.entities.entitydefs A dictionary mapping XHTML 1.0 entity definitions to their replacement text in ISO Latin-1.

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.Document.createProcessingInstruction()
  • References/Python/Python/Structured Markup

Document.createProcessingInstruction(target, data) Create and return a processing instruction node containing the target

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

class xml.sax.xmlreader.InputSource(system_id=None) Encapsulation of the information needed by the XMLReader to

2025-01-10 15:47:30