[text]) |
elem) |
The exact output format is implementation dependent. In this version, it's written as an ordinary XML file.
elem is an element tree or an individual element.
tag[, attrib][, **extra]) |
The element name, attribute names, and attribute values can be either 8-bit ASCII strings or Unicode strings. tag is the element name. attrib is an optional dictionary, containing element attributes. extra contains additional attributes, given as keyword arguments.
text) |
element) |
source[, events]) |
source[, parser]) |
target[, text]) |
parent, tag[, attrib] [, **extra]) |
The element name, attribute names, and attribute values can be either 8-bit ASCII strings or Unicode strings. parent is the parent element. tag is the subelement name. attrib is an optional dictionary, containing element attributes. extra contains additional attributes, given as keyword arguments.
element[, encoding]) |
text) |
text) |
See About this document... for information on suggesting changes.