php8.5
Home/ Manual/ reference / dom/ Document Object Model

Document Object Model

The DOM extension allows operations on XML and HTML documents through the DOM API with PHP.

Intro

The DOM extension allows operations on XML and HTML documents through the DOM API with PHP.

Utf8

Setup Constants Examples Domattr Domcdatasection Domcharacterdata Domchildnode Domcomment Domdocument Domdocumentfragment Domdocumenttype Domelement Domentity Domentityreference Domexception Domimplementation Domnamednodemap Domnamespacenode Domnode Domnodelist Domnotation Domparentnode Domprocessinginstruction Domtext Domxpath Dom-adjacentposition Dom-attr Dom-cdatasection Dom-characterdata Dom-childnode Dom-comment Dom-document Dom-documentfragment Dom-documenttype Dom-dtdnamednodemap Dom-element Dom-entity Dom-entityreference Dom-htmlcollection Dom-htmldocument Dom-htmlelement Dom-implementation Dom-namednodemap Dom-namespaceinfo Dom-node Dom-nodelist Dom-notation Dom-parentnode Dom-processinginstruction Dom-text Dom-tokenlist Dom-xmldocument Dom-xpath

DOM Functions

Functions

Source: reference/dom/book.xml · from the official PHP manual (php/doc-en)