The Dom\Node class
This is the modern, spec-compliant equivalent of DOMNode.
Intro
This is the modern, spec-compliant equivalent of DOMNode.
Class synopsis
Predefined Constants
Properties
nodeNameReturns the most accurate name for the current node type.
- For elements, this is the HTML-uppercased qualified name.
- For attributes, this is the qualified name.
- For processing instructions, this is the target.
- For document type nodes, this is the name.
ownerDocumentThe
Dom\Documentobject associated with this node, or null if this node is a document.childNodesA
Dom\NodeListthat contains all children of this node. If there are no children, this is an emptyDom\NodeList.nodeValueThe value of this node, depending on its type.
Notes Utf8
See Also
- WHATWG specification of Node