DomNode->append_sibling
DomNode->child_nodes
DOM XML (PHP 4) Funkcje
PHP Manual

# DomNode->attributes

(PHP 4 >= 4.1.0)

DomNode->attributes — Returns list of attributes

### Opis

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.

DomNode->append_sibling
DomNode->child_nodes
DOM XML (PHP 4) Funkcje
PHP Manual