(PHP 4 >= 4.1.0)
DomNode->node_name — ノード名を返す
ノード名を返します。名前は以下の表の通り、 異なるノードの型に対しては異なる意味を持ちます。
| 型 | 意味 |
|---|---|
| DomAttribute | 属性値 |
| DomAttribute | |
| DomCDataSection | #cdata セクション |
| DomComment | #comment |
| DomDocument | #document |
| DomDocumentType | 文章型名 |
| DomElement | タグ名 |
| DomEntity | エンティティ名 |
| DomEntityReference | エンティティ参照名 |
| DomNotation | ノーテーション名 |
| DomProcessingInstruction | ターゲット |
| DomText | #text |