TreeBuilder(self, element_factory=None, parser=None)
Parser target that builds a tree.
|
|
__init__(self,
element_factory=None,
parser=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
|
a new object with type S, a subtype of T
|
|
|
|
close(self)
Flushes the builder buffers, and returns the toplevel document
element. |
|
|
|
|
|
|
|
data(self,
data)
Adds text to the current element. |
|
|
|
|
end(self,
tag)
Closes the current element. |
|
|
|
|
|
|
|
start(self,
tag,
attrs,
nsmap=None)
Opens a new element. |
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|