DomNode->next_sibling
DomNode->node_type
DOM XML (PHP 4) Functions
PHP Manual

# DomNode->node_name

(PHP 4 >= 4.1.0)

DomNode->node_name — Returns name of node

### Description

string DomNode->node_name ( void )

Returns name of the node. The name has different meanings for the different types of nodes as illustrated in the following table.

Meaning of value
Type | Meaning
--- | ---
DomAttribute | value of attribute
DomAttribute |
DomCDataSection | #cdata-section
DomComment | #comment
DomDocument | #document
DomDocumentType | document type name
DomElement | tag name
DomEntity | name of entity
DomEntityReference | name of entity reference
DomNotation | notation name
DomProcessingInstruction | target
DomText | #text

DomNode->next_sibling
DomNode->node_type
DOM XML (PHP 4) Functions
PHP Manual