PHP 手册
后退 |  | 前进

# DomNode->node_value

(no version information, might be only in CVS)

DomNode->node_value -- Returns value of a node

## 说明

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.

表格 1. 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