Can be a simple element or a composite. A simple element is treated as
a composite element with one sub-element.
|
__init__(self,
ele_str,
subele_term=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
__getitem__(self,
idx)
returns Element instance for idx |
source code
|
|
|
__setitem__(self,
idx,
val)
1 based index [0] throws exception sets element value for idx |
source code
|
|
int
|
|
string
|
|
|
|
|
get_value(self)
Get value of simple element |
source code
|
|
|
|
boolean
|
|
boolean
|
|
boolean
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__str__
|