(PHP 8 >= 8.4.0)
This is the modern, spec-compliant equivalent of DOMNode.
DOMNode::DOCUMENT_POSITION_DISCONNECTED
DOMNode::DOCUMENT_POSITION_PRECEDING
DOMNode::DOCUMENT_POSITION_FOLLOWING
DOMNode::DOCUMENT_POSITION_CONTAINS
DOMNode::DOCUMENT_POSITION_CONTAINED_BY
DOMNode::DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
Gets the type of the node. One of the predefined XML_*_NODE
constants
The absolute base URI of this node or null
if the implementation
wasn't able to obtain an absolute URI.
Whether the node is connected to a document
null
if this node is a document.
The parent of this node. If there is no such node, this returns null
.
The parent element of this element. If there is no such element, this returns null
.
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
.
The text content of this node and its descendants.
Hinweis: Die Erweiterung DOM verwendet die UTF-8-Kodierung, wenn sie mit Methoden oder Eigenschaften arbeitet. Die Parser-Methoden erkennen die Kodierung automatisch oder erlauben es dem Aufrufer, eine Kodierung anzugeben.