Returns the most accurate name for the current node type
The value of this node, depending on its type
Gets the type of the node. One of the predefined XML_xxx_NODE constants
The parent of this node
A DOMNodeList that contains all children of this node. If there are no children, this is an empty DOMNodeList.
The first child of this node. If there is no such node, this returns NULL.
The last child of this node. If there is no such node, this returns NULL.
The node immediately preceding this node. If there is no such node, this returns NULL.
The node immediately following this node. If there is no such node, this returns NULL.
A DOMNamedNodeMap containing the attributes of this node (if it is a DOMElement) or NULL otherwise.
The DOMDocument object associated with this node.
The namespace URI of this node, or NULL if it is unspecified.
The namespace prefix of this node, or NULL if it is unspecified.
Returns the local part of the qualified name of this node.
The absolute base URI of this node or NULL if the implementation wasn't able to obtain an absolute URI.
This attribute returns the text content of this node and its descendants.
Замечание:
The DOM extension uses UTF-8 encoding. Use utf8_encode() and utf8_decode() to work with texts in ISO-8859-1 encoding or Iconv for other encodings.