DOM FunctionsDOM
&reftitle.intro;
The DOM extension is the replacement for the
DOM XML extension from PHP 4.
The extension still contains many old functions, but they should no
longer be used. In particular, functions that are not object-oriented
should be avoided.
The extension allows you to operate on an XML document with the DOM API.
&reference.dom.constants;
Classes
The API of the module follows the DOM Level 2 standard as closely
as possible. Consequently, the API is fully object-oriented.
It is a good idea to have the DOM standard available when
using this module.
This module defines a number of classes, which are listed -
including their
method - in the following tables. Classes with an equivalent in the
DOM standard are named DOMxxx.
List of classesClass nameParent classesDOMAttrDOMNodeDOMCDataSectionDOMText : DOMNodeDOMCharacterDataDOMNodeDOMCommentDOMCharacterData : DomNodeDOMDocumentDOMNodeDOMDocumentFragmentDOMNodeDOMDocumentTypeDOMNodeDOMElementDOMNodeDOMEntityDOMNodeDOMEntityReferenceDOMNodeDOMNodeDOMNotationDOMNodeDOMProcessingInstructionDOMNodeDOMTextDOMCDataSection : DomNodeDOMExceptionDOMImplementationDOMNamedNodeMapDOMNodeListDOMXPath