xml.sax.handler.ContentHandler
  • References/Python/Python/Structured Markup

class xml.sax.handler.ContentHandler This is the main callback interface in SAX, and the one most important to applications

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

HTMLParser.handle_data(data) This method is called to process arbitrary data (e.g. text nodes and the content of <script>

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

DOMImplementation.createDocument(namespaceUri, qualifiedName, doctype) Return a new Document object (the root of

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

Locator.getPublicId() Return the public identifier for the current event.

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

ContentHandler.processingInstruction(target, data) Receive notification of a processing instruction. The

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

ExpatError.offset Character offset into the line where the error occurred. The first column is numbered 0.

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

XMLReader.getDTDHandler() Return the current

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

DocumentType.systemId The system identifier for the external subset of the document type definition. This will be a URI as a

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
xml.parsers.expat.xmlparser.SetParamEntityParsing()
  • References/Python/Python/Structured Markup

xmlparser.SetParamEntityParsing(flag) Control parsing of parameter entities (including the external DTD subset). Possible flag

2025-01-10 15:47:30