PHP. Руководство по PHP. 2005
DomNode->node_name
HREF="function.domnode-next-sibling.html"> HREF="function.domnode-node-type.html"> Пред.
DomNode->node_name
Описание
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.
Таблица 1. 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 |