|
|
|
|
|
indent(elem,
level=0)
indent-function as defined in cElementTree-documentation |
source code
|
|
|
ETFromObj(obj)
obj can be 1) a string that ends with .xml -> the file is parsed
and the resulting ElementTree returned 2) a string that ends with
.xml.gz -> the file is unzipped, parsed, and the resulting
ElementTree is returned 3) an open input stream -> the input is
parsed and the resulting ElementTree is returned 4) an ElementTree or
an Element -> obj is returned as-is, nothing is done |
source code
|
|
|
ETIteratorFromObj(obj,
events=None,
parser=None)
obj can be 1) a string that ends with .xml -> the file is parsed
and the resulting ElementTree returned 2) a string that ends with
.xml.gz -> the file is unzipped, parsed, and the resulting
ElementTree is returned 3) an open input stream -> the input is
parsed and the resulting ElementTree is returned 4) an ElementTree or
an Element -> obj is returned as-is, nothing is done |
source code
|
|
|
|
|
|
|
|
|
toStr(element,
recursive=True,
removePreTag=True) |
source code
|
|
|
|
|
|