Module attribute :: Class Attribute
[hide private]
[frames] | no frames]

Class Attribute

source code

Base class, used for simple attributes, i.e. single attributes storing data as text strings.

Static Methods [hide private]
 
add(parentNode, attribute, value)
Store attribute value in DOM as a text node.
source code
 
get(node)
Get value (or return a default value) from a DOM Element object.
source code
Method Details [hide private]

add(parentNode, attribute, value)
Static Method

source code 
Store attribute value in DOM as a text node.
Parameters:
  • attribute - Attribute name.
  • value - Attribute value (Python string).