Previous: 13.12.4 InputSource Objects Up: 13.12 xml.sax.xmlreader Next: 13.12.6 The AttributesNS Interface


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:

getLength ()
Return the number of attributes.

getNames ()
Return the names of the attributes.

getType (name)
Returns the type of the attribute name, which is normally 'CDATA'.

getValue (name)
Return the value of attribute name.


Previous: 13.12.4 InputSource Objects Up: 13.12 xml.sax.xmlreader Next: 13.12.6 The AttributesNS Interface
Release 2.2.3, documentation updated on 30 May 2003.
See About this document... for information on suggesting changes.

AltStyle によって変換されたページ (->オリジナル) /