xml.etree.ElementTree.dump()
  • References/Python/Python/Structured Markup

xml.etree.ElementTree.dump(elem) Writes an element tree or element structure to sys.stdout. This function should be used for

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

get(key, default=None) Gets the element attribute named key. Returns the attribute

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

items() Returns the element attributes as a sequence of (name, value) pairs. The attributes are returned in an arbitrary order

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

read_events() Return an iterator over the events which have been encountered in the data fed to the parser. The iterator yields

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

IncrementalParser.reset() This method is called after close has been called to reset the parser so that it is ready to parse

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

tag A string identifying what kind of data this element represents (the element type, in other words).

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

Attr.value The text value of the attribute. This is a synonym for the nodeValue attribute.

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

IncrementalParser.close() Assume the end of the document. That will check well-formedness conditions that can be checked only

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

Element.setAttributeNode(newAttr) Add a new attribute node to the element, replacing an existing attribute if necessary if the

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

exception xml.parsers.expat.error Alias for ExpatError.

2025-01-10 15:47:30