|
|
|
|
|
|
|
|
|
|
|
SubElement(parent,
tag,
attrib={},
**extra)
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_namespaces(elem,
encoding,
default_namespace=None)
source code
|
|
|
|
|
|
_serialize_html(write,
elem,
encoding,
qnames,
namespaces)
source code
|
|
|
|
|
|
_serialize_xml(write,
elem,
encoding,
qnames,
namespaces)
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
iterparse(source,
events=None,
parser=None)
source code
|
|
|
|
|
|
|
|
|
tostring(element,
encoding=None,
method=None)
source code
|
|
|
tostringlist(element,
encoding=None,
method=None)
source code
|
|
|
HTML_EMPTY = set(['area', 'base', 'basefont', 'br', 'col', 'fr...
|
|
|
VERSION = '1.3.0'
|
|
|
__package__ = 'xml.etree'
|
|
|
_namespace_map = {'http://purl.org/dc/elements/1.1/': 'dc', 'h...
|
|
|
_sentinel = ['sentinel']
|
|
|
_serialize = {'html': <__builtin__.function object>, 'text': <...
|
HTML_EMPTY
- Value:
set(['area',
'base',
'basefont',
'br',
'col',
'frame',
'hr',
'img',
...
_namespace_map
- Value:
{'http://purl.org/dc/elements/1.1/': 'dc',
'http://schemas.xmlsoap.org/wsdl/': 'wsdl',
'http://www.w3.org/1999/02/22-rdf-syntax-ns#': 'rdf',
'http://www.w3.org/1999/xhtml': 'html',
'http://www.w3.org/2001/XMLSchema': 'xs',
'http://www.w3.org/2001/XMLSchema-instance': 'xsi',
'http://www.w3.org/XML/1998/namespace': 'xml'}
_serialize
- Value:
{'html': <__builtin__.function object>,
'text': <__builtin__.function object>,
'xml': <__builtin__.function object>}