|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
add_text(self,
text)
Adding text to elements is so common, there is a special method for
it. |
source code
|
|
|
|
|
|
|
|
|
destroy(self)
destroy() Remove this node and all child node references. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
fullpath(self)
fullpath() returns the ElementNode's full path as a string in xpath
format. |
source code
|
|
|
|
|
get_attribute(name)
This exists to set attributes that have names with illegal Python
identifier characters. |
source code
|
|
|
|
|
|
|
|
|
getall(self,
elclass,
depth=0,
collect=None) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inherit_indent(self)
clears indentation flag so that it may be acquired from parent. |
source code
|
|
|
|
|
|
|
|
|
pathname(self)
pathname() returns the ElementNode as a string in xpath format. |
source code
|
|
|
|
|
|
|
|
|
set_attribute(name,
value)
This exists to set attributes that have names with illegal Python
identifier characters. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|