(PHP 4 >= 4.1.0)
DomNode->node_value — ノードの値を返す
ノードの値を返します。値は以下の表の通り、 異なるノードの型に対しては異なる意味を持ちます。
| 型 | 意味 |
|---|---|
| DomAttribute | 属性値 |
| DomAttribute | |
| DomCDataSection | 内容 |
| DomComment | コメントの内容 |
| DomDocument | null |
| DomDocumentType | null |
| DomElement | null |
| DomEntity | null |
| DomEntityReference | null |
| DomNotation | null |
| DomProcessingInstruction | ターゲット以外の全ての内容 |
| DomText | テキストの内容 |