13.12.5 The Attributes Interface
Attributes objects implement a portion of the mapping protocol, including the methods copy(), get(), has_key(), items(), keys(), and values(). The following methods are also provided:
- Return the number of attributes.
- Return the names of the attributes.
-
Returns the type of the attribute name, which is normally
'CDATA'
.
- Return the value of attribute name.
See About this document... for information on suggesting changes.