|
__init__(self,
element_factory=None,
parser=None,
comment_factory=None,
pi_factory=None,
insert_comments=True,
insert_pis=True)
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
a new object with type S, a subtype of T
|
|
|
close(self)
Flushes the builder buffers, and returns the toplevel document
element. |
|
|
|
comment(self,
comment)
Creates a comment using the factory, appends it (unless disabled)
and returns it. |
|
|
|
data(self,
data)
Adds text to the current element. The value should be either an
8-bit string containing ASCII text, or a Unicode string. |
|
|
|
end(self,
tag)
Closes the current element. |
|
|
|
pi(self,
target,
data=None)
Creates a processing instruction using the factory, appends it
(unless disabled) and returns it. |
|
|
|
start(self,
tag,
attrs,
nsmap=None)
Opens a new element. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|