This holds DOM-related information used when generating a DOM tree
from a binding instance.
|
|
|
document(self)
Return the document generated using this instance. |
source code
|
|
|
requireXSIType(self)
Indicates whether
{xsi:type<http://www.w3.org/TR/xmlschema-1/#xsi_type>} should
be added to all elements. |
source code
|
|
|
reset(self,
**kw)
Reset this instance to the state it was when created. |
source code
|
|
|
__init__(self,
implementation=None,
default_namespace=None,
require_xsi_type=False,
namespace_prefix_map=None)
Create a new instance used for building a single document. |
source code
|
|
|
defaultNamespace(self)
The default namespace for this instance |
source code
|
|
|
setDefaultNamespace(self,
default_namespace) |
source code
|
|
|
declareNamespace(self,
namespace,
prefix=None)
Declare a namespace within this instance only. |
source code
|
|
|
namespacePrefix(self,
namespace)
Obtain the prefix for the given namespace using this instance's
configuration. |
source code
|
|
|
namespacePrefixMap(self)
Get the map from namespaces to prefixes for this instance |
source code
|
|
|
|
xml.dom.Document
|
|
xml.dom.Element
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|