Website hosting service by

 Back to Index

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.



2002-2004 Webhosting Service


Disclaimer: This documentation is provided only for the benefits of our hosting customers.
For authoritative source of the documentation, please refer to


Domain registration - Domain registration, domain name transfer and domain search services   Cheap domain name registration - Register domain name and domain transfer from $5.95/year only