Next / Previous / Contents / TCC Help System / NM Tech homepage

8. The Attr class

A node of this class represents one attribute of an XML element. Its attributes (in the Python sense) are:

.name

The attribute name.

.value

The attribute's value as a string.

.ownerElement

The Element node to which this attribute is attached. If the attribute is an unattached Attr node, the .ownerElement will be None.