Returns value of a node

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

# DomNode->node_value

(PHP 4 >= 4.1.0)

DomNode->node_value — Returns value of a node

### Description

string DomNode->node_value ( void )

Returns value of the node. The value 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 | content
DomComment | content of comment
DomDocument | null
DomDocumentType | null
DomElement | null
DomEntity | null
DomEntityReference | null
DomNotation | null
DomProcessingInstruction | entire content without target
DomText | content of text

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