Freelance PHP programmer India | Freelance web developer india | Web development India | web developer CV india | Compiling PHP and Apache 2 from source on Linux
DOM XML Functions
PHP Manual

DomNode->attributes

(No version information available, might be only in CVS)

DomNode->attributes Returns list of attributes

Description

array DomNode->attributes ( void )

This function only returns an array of attributes if the node is of type XML_ELEMENT_NODE.

(PHP >= 4.3 only) If no attributes are found, NULL is returned.


DOM XML Functions
PHP Manual