(PHP 5, PHP 7, PHP 8)
The qualified name of this node.
The namespace URI declared by this node, or null
if the empty namespace.
The type of the node. In this case it returns
XML_NAMESPACE_DECL_NODE
.
The namespace prefix declared by this node.
The local part of the qualified name of this node.
The namespace URI declared by this node, or null
if it is unspecified.
Whether the node is connected to a document.
The DOMDocument object associated with this node,
or null
if this node is a DOMDocument
The parent of this node.
If there is no such node, this returns null
.
The parent element of this node.
If there is no such element, this returns null
.
Version | Description |
---|---|
8.3.0 | Properties DOMNameSpaceNode::$parentElement, and DOMNameSpaceNode::$isConnected have been added. |