xml.dom.__init__
index
/usr/lib/python2.2/xml/dom/__init__.py

W3C Document Object Model implementation for Python.
 
The Python mapping of the Document Object Model is documented in the
Python Library Reference in the section on the xml.dom package.
 
This package contains the following modules:
 
minidom -- A simple implementation of the Level 1 DOM with namespace
           support added (based on the Level 2 specification) and other
           minor Level 2 functionality.
 
pulldom -- DOM builder supporting on-demand tree-building for selected
           subtrees of the document.

 
Classes
            
exceptions.Exception
DOMException
DomstringSizeErr
HierarchyRequestErr
IndexSizeErr
InuseAttributeErr
InvalidAccessErr
InvalidCharacterErr
InvalidModificationErr
InvalidStateErr
NamespaceErr
NoDataAllowedErr
NoModificationAllowedErr
NotFoundErr
NotSupportedErr
SyntaxErr
WrongDocumentErr
Node
 
class DOMException(exceptions.Exception)
      Abstract base class for DOM exceptions.
Exceptions with specific codes are specializations of this class.
 
   Methods defined here:
__init__(self, *args, **kw)
_get_code(self)

Data and non-method functions defined here:
__doc__ = 'Abstract base class for DOM exceptions.\n Ex...pecific codes are specializations of this class.'
__module__ = 'xml.dom.__init__'

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class DomstringSizeErr(DOMException)
       
  
Method resolution order:
DomstringSizeErr
DOMException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.__init__'
code = 2

Methods inherited from DOMException:
__init__(self, *args, **kw)
_get_code(self)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class HierarchyRequestErr(DOMException)
       
  
Method resolution order:
HierarchyRequestErr
DOMException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.__init__'
code = 3

Methods inherited from DOMException:
__init__(self, *args, **kw)
_get_code(self)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class IndexSizeErr(DOMException)
       
  
Method resolution order:
IndexSizeErr
DOMException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.__init__'
code = 1

Methods inherited from DOMException:
__init__(self, *args, **kw)
_get_code(self)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class InuseAttributeErr(DOMException)
       
  
Method resolution order:
InuseAttributeErr
DOMException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.__init__'
code = 10

Methods inherited from DOMException:
__init__(self, *args, **kw)
_get_code(self)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class InvalidAccessErr(DOMException)
       
  
Method resolution order:
InvalidAccessErr
DOMException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.__init__'
code = 15

Methods inherited from DOMException:
__init__(self, *args, **kw)
_get_code(self)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class InvalidCharacterErr(DOMException)
       
  
Method resolution order:
InvalidCharacterErr
DOMException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.__init__'
code = 5

Methods inherited from DOMException:
__init__(self, *args, **kw)
_get_code(self)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class InvalidModificationErr(DOMException)
       
  
Method resolution order:
InvalidModificationErr
DOMException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.__init__'
code = 13

Methods inherited from DOMException:
__init__(self, *args, **kw)
_get_code(self)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class InvalidStateErr(DOMException)
       
  
Method resolution order:
InvalidStateErr
DOMException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.__init__'
code = 11

Methods inherited from DOMException:
__init__(self, *args, **kw)
_get_code(self)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class NamespaceErr(DOMException)
       
  
Method resolution order:
NamespaceErr
DOMException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.__init__'
code = 14

Methods inherited from DOMException:
__init__(self, *args, **kw)
_get_code(self)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class NoDataAllowedErr(DOMException)
       
  
Method resolution order:
NoDataAllowedErr
DOMException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.__init__'
code = 6

Methods inherited from DOMException:
__init__(self, *args, **kw)
_get_code(self)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class NoModificationAllowedErr(DOMException)
       
  
Method resolution order:
NoModificationAllowedErr
DOMException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.__init__'
code = 7

Methods inherited from DOMException:
__init__(self, *args, **kw)
_get_code(self)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class Node
      Class giving the NodeType constants.
 
   Data and non-method functions defined here:
ATTRIBUTE_NODE = 2
CDATA_SECTION_NODE = 4
COMMENT_NODE = 8
DOCUMENT_FRAGMENT_NODE = 11
DOCUMENT_NODE = 9
DOCUMENT_TYPE_NODE = 10
ELEMENT_NODE = 1
ENTITY_NODE = 6
ENTITY_REFERENCE_NODE = 5
NOTATION_NODE = 12
PROCESSING_INSTRUCTION_NODE = 7
TEXT_NODE = 3
__doc__ = 'Class giving the NodeType constants.'
__module__ = 'xml.dom.__init__'
 
class NotFoundErr(DOMException)
       
  
Method resolution order:
NotFoundErr
DOMException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.__init__'
code = 8

Methods inherited from DOMException:
__init__(self, *args, **kw)
_get_code(self)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class NotSupportedErr(DOMException)
       
  
Method resolution order:
NotSupportedErr
DOMException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.__init__'
code = 9

Methods inherited from DOMException:
__init__(self, *args, **kw)
_get_code(self)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class SyntaxErr(DOMException)
       
  
Method resolution order:
SyntaxErr
DOMException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.__init__'
code = 12

Methods inherited from DOMException:
__init__(self, *args, **kw)
_get_code(self)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
class WrongDocumentErr(DOMException)
       
  
Method resolution order:
WrongDocumentErr
DOMException
exceptions.Exception

Data and non-method functions defined here:
__doc__ = None
__module__ = 'xml.dom.__init__'
code = 4

Methods inherited from DOMException:
__init__(self, *args, **kw)
_get_code(self)

Methods inherited from exceptions.Exception:
__getitem__(...)
__str__(...)
 
Data
             DOMSTRING_SIZE_ERR = 2
EMPTY_NAMESPACE = None
HIERARCHY_REQUEST_ERR = 3
INDEX_SIZE_ERR = 1
INUSE_ATTRIBUTE_ERR = 10
INVALID_ACCESS_ERR = 15
INVALID_CHARACTER_ERR = 5
INVALID_MODIFICATION_ERR = 13
INVALID_STATE_ERR = 11
NAMESPACE_ERR = 14
NOT_FOUND_ERR = 8
NOT_SUPPORTED_ERR = 9
NO_DATA_ALLOWED_ERR = 6
NO_MODIFICATION_ALLOWED_ERR = 7
SYNTAX_ERR = 12
WRONG_DOCUMENT_ERR = 4
XHTML_NAMESPACE = 'http://www.w3.org/1999/xhtml'
XMLNS_NAMESPACE = 'http://www.w3.org/2000/xmlns/'
XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace'
__file__ = '/usr/lib/python2.2/xml/dom/__init__.pyc'
__name__ = 'xml.dom.__init__'