Package zeroinstall :: Package injector :: Module qdom :: Class Element
[frames] | no frames]

Class Element

source code

object --+
         |
        Element

An XML element.

Instance Methods
 
__init__(self, uri, name, attrs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__str__(self)
str(x)
source code
 
getAttribute(self, name) source code

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

Instance Variables
{str: str} attrs
the element's attributes (key is in the form [namespace " "] localName
[Element] childNodes
children
str content
the text content
str name
the element's localName
str uri
the element's namespace
Properties

Inherited from object: __class__

Method Details

__init__(self, uri, name, attrs)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)