__init__(self,
doc,
root,
qualifier,
value_as_attribute=0)
(Constructor)
Initialise the writer with the document 'doc' to be written to, the
element 'root' within which information is to be inserted. The following
parameters configure the writer:
* qualifier - use a specific qualifier, given as a 2-tuple
of the form (namespace, prefix), on elements
added to the document
* value_as_attribute - write values as attributes on elements (or
write them as text within the elements, as is
the default, false value for this parameter)
-
|