Returns the name of attribute

DOM XML (PHP 4) Functions
DomAttribute->set_value
DOM XML (PHP 4) Functions
PHP Manual

# DomAttribute->name

(PHP 4 >= 4.1.0)

DomAttribute->name — Returns the name of attribute

### Description

DomAttribute
string name ( void )

Gets the name of the attribute.

### Return Values

Returns the name of the attribute.

### Migrating to PHP 5

Use the name property of DOMAttr.

### See Also

- DomAttribute->value for an example

DOM XML (PHP 4) Functions
DomAttribute->set_value
DOM XML (PHP 4) Functions
PHP Manual