Dom
Classes
Dom\Attr represents an attribute in the Dom\Element object.
The Dom\CDATASection class inherits from Dom\Text for textual representation of CData constructs.
Represents nodes with character data. No nodes directly correspond to this class, but other nodes do inherit from it.
Represents comment nodes, characters delimited by .
Represents an entire HTML or XML document; serves as the root of the document tree.
This represents a document fragment, which can be used as a container for other nodes.
Each Dom\Document has a doctype attribute whose value is either null or a Dom\DocumentType object.
Represents a named node map for entities and notation nodes of the DTD.
Represents an element.
This interface represents a known entity, either parsed or unparsed, in an XML document.
This is the modern, spec-compliant equivalent of DOMEntityReference.
Represents a static set of elements.
Represents an HTML document.
Represents an element in the HTML namespace.
This class provides a number of methods for performing operations that are independent of any particular instance of the document object model.
Represents the set of attributes on an element.
This represents immutable information about namespaces of an element. This decouples namespaces from attributes, which was incorrectly intertwined for the old DOM classes.
This is the modern, spec-compliant equivalent of DOMNode.
Represents a live list of nodes.
This represents a processing instruction (PI) node. These are meant to indicate data areas meant for processing by specific applications.
The Dom\Text class inherits from Dom\CharacterData and represents a text node.
Represents a set of tokens in an attribute (e.g. class names).
Represents an XML document.
Allows to use XPath 1.0 queries on HTML or XML documents.
Interfaces
This is the modern, spec-compliant equivalent of DOMChildNode.
This is the modern, spec-compliant equivalent of DOMParentNode.
Functions
Since: 8.4
Gets a Dom\Attr or Dom\Element object from a SimpleXMLElement object