Package simplexmlapi :: Module node :: Class DotXMLDoc
[hide private]
[frames] | no frames]

Class DotXMLDoc

source code

object --+
         |
        DotXMLDoc

Accepts the source of an XML document, parses it, and provides dotted name access to the root node.

Instance Methods [hide private]
 
__init__(self, source)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__getattr__(self, attr)
Pass off attribute access to the root node.
source code
 
__del__(self)
Remove the XML document from memory.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, source)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • source (str) - A string containing an XML document.
Overrides: object.__init__