DOMElement->getAttribute

(no version information, might be only in CVS)

DOMElement->getAttribute -- Returns value of attribute

Description

string DOMElement->getAttribute ( string name)

Returns the value of the attribute with name name for the current node. If no attribute with given name is found, an empty string is returned.

See also DOMElement->setAttribute()