<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >DOM Functions</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="Manual PHP" HREF="index.html"><LINK REL="UP" TITLE="Documentaþia funcþiilor" HREF="funcref.html"><LINK REL="PREVIOUS" TITLE="scandir" HREF="function.scandir.html"><LINK REL="NEXT" TITLE="DOMAttr->isId" HREF="function.dom-domattr-isid.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY CLASS="reference" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Manual PHP</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.scandir.html" ACCESSKEY="P" >Înapoi</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.dom-domattr-isid.html" ACCESSKEY="N" >Înainte</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="reference" ><A NAME="ref.dom" ></A ><DIV CLASS="TITLEPAGE" ><H1 CLASS="title" >XXIV. DOM Functions</H1 ><DIV CLASS="PARTINTRO" ><A NAME="AEN21091" ></A ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="dom.intro" >Introducere</A ></H1 ><P > The DOM extension is the replacement for the domxml 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. </P ><P > The extension allows you to operate on an XML document with the DOM API. </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="dom.constants" >Constante predefinite</A ></H1 ><P > Aceste constante sunt definite de aceastã extensie ºi vor fi disponibile doar cînd extensia a fost fie compilatã odatã la instalarea PHP fie dacã extensia este încãrcatã dinamic la rulare.</P ><DIV CLASS="table" ><A NAME="AEN21099" ></A ><P ><B >Tabel 1. XML constants</B ></P ><TABLE BORDER="1" CLASS="CALSTABLE" ><COL><COL><COL><THEAD ><TR ><TH >Constant</TH ><TH >Value</TH ><TH >Description</TH ></TR ></THEAD ><TBODY ><TR ><TD > <TT CLASS="constant" ><B >XML_ELEMENT_NODE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >1</TD ><TD >Node is an element</TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_ATTRIBUTE_NODE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >2</TD ><TD >Node is an attribute</TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_TEXT_NODE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >3</TD ><TD >Node is a piece of text</TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_CDATA_SECTION_NODE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >4</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_ENTITY_REF_NODE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >5</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_ENTITY_NODE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >6</TD ><TD >Node is an entity like &nbsp;</TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_PI_NODE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >7</TD ><TD >Node is a processing instruction</TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_COMMENT_NODE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >8</TD ><TD >Node is a comment</TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_DOCUMENT_NODE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >9</TD ><TD >Node is a document</TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_DOCUMENT_TYPE_NODE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >10</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_DOCUMENT_FRAG_NODE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >11</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_NOTATION_NODE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >12</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_HTML_DOCUMENT_NODE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >13</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_DTD_NODE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >14</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_ELEMENT_DECL_NODE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >15</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_ATTRIBUTE_DECL_NODE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >16</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_ENTITY_DECL_NODE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >17</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_NAMESPACE_DECL_NODE</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >18</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_ATTRIBUTE_CDATA</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >1</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_ATTRIBUTE_ID</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >2</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_ATTRIBUTE_IDREF</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >3</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_ATTRIBUTE_IDREFS</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >4</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_ATTRIBUTE_ENTITY</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >5</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_ATTRIBUTE_NMTOKEN</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >7</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_ATTRIBUTE_NMTOKENS</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >8</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_ATTRIBUTE_ENUMERATION</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >9</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >XML_ATTRIBUTE_NOTATION</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >10</TD ><TD > </TD ></TR ></TBODY ></TABLE ></DIV ><DIV CLASS="table" ><A NAME="AEN21270" ></A ><P ><B >Tabel 2. DOMException constants</B ></P ><TABLE BORDER="1" CLASS="CALSTABLE" ><COL><COL><COL><THEAD ><TR ><TH >Constant</TH ><TH >Value</TH ><TH >Description</TH ></TR ></THEAD ><TBODY ><TR ><TD > <TT CLASS="constant" ><B >DOM_INDEX_SIZE_ERR</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >1</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >DOMSTRING_SIZE_ERR</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >2</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >DOM_HIERARCHY_REQUEST_ERR</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >3</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >DOM_WRONG_DOCUMENT_ERR</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >4</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >DOM_INVALID_CHARACTER_ERR</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >5</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >DOM_NO_DATA_ALLOWED_ERR</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >6</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >DOM_NO_MODIFICATION_ALLOWED_ERR</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >7</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >DOM_NOT_FOUND_ERR</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >8</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >DOM_NOT_SUPPORTED_ERR</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >9</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >DOM_INUSE_ATTRIBUTE_ERR</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >10</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >DOM_INVALID_STATE_ERR</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >11</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >DOM_SYNTAX_ERR</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >12</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >DOM_INVALID_MODIFICATION_ERR</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >13</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >DOM_NAMESPACE_ERR</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >14</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >DOM_INVALID_ACCESS_ERR</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >15</TD ><TD > </TD ></TR ><TR ><TD > <TT CLASS="constant" ><B >DOM_VALIDATION_ERR</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >) </TD ><TD >16</TD ><TD > </TD ></TR ></TBODY ></TABLE ></DIV ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="dom.classes" >Classes</A ></H1 ><P > 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. </P ><P > 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. </P ><P > <DIV CLASS="table" ><A NAME="AEN21380" ></A ><P ><B >Tabel 3. List of classes</B ></P ><TABLE BORDER="1" CLASS="CALSTABLE" ><COL><COL><THEAD ><TR ><TH >Class name</TH ><TH >Parent classes</TH ></TR ></THEAD ><TBODY ><TR ><TD >DOMAttr</TD ><TD >DOMNode</TD ></TR ><TR ><TD >DOMCDataSection</TD ><TD >DOMText : DOMNode</TD ></TR ><TR ><TD >DOMCharacterData</TD ><TD >DOMNode</TD ></TR ><TR ><TD >DOMComment</TD ><TD >DOMCharacterData : DomNode</TD ></TR ><TR ><TD >DOMDocument</TD ><TD >DOMNode</TD ></TR ><TR ><TD >DOMDocumentFragment</TD ><TD >DOMNode</TD ></TR ><TR ><TD >DOMDocumentType</TD ><TD >DOMNode</TD ></TR ><TR ><TD >DOMElement</TD ><TD >DOMNode</TD ></TR ><TR ><TD >DOMEntity</TD ><TD >DOMNode</TD ></TR ><TR ><TD >DOMEntityReference</TD ><TD >DOMNode</TD ></TR ><TR ><TD >DOMNode</TD ><TD > </TD ></TR ><TR ><TD >DOMNotation</TD ><TD >DOMNode</TD ></TR ><TR ><TD >DOMProcessingInstruction</TD ><TD >DOMNode</TD ></TR ><TR ><TD >DOMText</TD ><TD >DOMCDataSection : DomNode</TD ></TR ><TR ><TD >DOMException</TD ><TD > </TD ></TR ><TR ><TD >DOMImplementation</TD ><TD > </TD ></TR ><TR ><TD >DOMNamedNodeMap</TD ><TD > </TD ></TR ><TR ><TD >DOMNodeList</TD ><TD > </TD ></TR ><TR ><TD >DOMXPath</TD ><TD > </TD ></TR ></TBODY ></TABLE ></DIV > </P ></DIV ></DIV ><DIV CLASS="TOC" ><DL ><DT ><B >Cuprins</B ></DT ><DT ><A HREF="function.dom-domattr-isid.html" >DOMAttr->isId</A > -- Checks if attribute is a defined ID </DT ><DT ><A HREF="function.dom-domcharacterdata-appenddata.html" >DOMCharacterData->appendData</A > -- Append the string to the end of the character data of the node. </DT ><DT ><A HREF="function.dom-domcharacterdata-deletedata.html" >DOMCharacterData->deleteData</A > -- Remove a range of characters from the node. </DT ><DT ><A HREF="function.dom-domcharacterdata-insertdata.html" >DOMCharacterData->insertData</A > -- Insert a string at the specified 16-bit unit offset. </DT ><DT ><A HREF="function.dom-domcharacterdata-replacedata.html" >DOMCharacterData->replaceData</A > -- Replace a substring within the DOMCharacterData node. </DT ><DT ><A HREF="function.dom-domcharacterdata-substringdata.html" >DOMCharacterData->substringData</A > -- Extracts a range of data from the node. </DT ><DT ><A HREF="function.dom-domdocument-createattribute.html" >DOMDocument->createAttribute</A > -- Create new attribute</DT ><DT ><A HREF="function.dom-domdocument-createattributens.html" >DOMDocument->createAttributeNS</A > -- Create new attribute node with an associated namespace </DT ><DT ><A HREF="function.dom-domdocument-createcdatasection.html" >DOMDocument->createCDATASection</A > -- Create new cdata node</DT ><DT ><A HREF="function.dom-domdocument-createcomment.html" >DOMDocument->createComment</A > -- Create new comment node</DT ><DT ><A HREF="function.dom-domdocument-createdocumentfragment.html" >DOMDocument->createDocumentFragment</A > -- Create new document fragment</DT ><DT ><A HREF="function.dom-domdocument-createelement.html" >DOMDocument->createElement</A > -- Create new element node</DT ><DT ><A HREF="function.dom-domdocument-createelementns.html" >DOMDocument->createElementNS</A > -- Create new element node with an associated namespace </DT ><DT ><A HREF="function.dom-domdocument-createentityreference.html" >DOMDocument->createEntityReference</A > -- Create new entity reference node</DT ><DT ><A HREF="function.dom-domdocument-createprocessinginstruction.html" >DOMDocument->createProcessingInstruction</A > -- Creates new PI node</DT ><DT ><A HREF="function.dom-domdocument-createtextnode.html" >DOMDocument->createTextNode</A > -- Create new text node</DT ><DT ><A HREF="function.dom-domdocument-getelementbyid.html" >DOMDocument->getElementById</A > -- Searches for an element with a certain id.</DT ><DT ><A HREF="function.dom-domdocument-getelementsbytagname.html" >DOMDocument->getElementsByTagName</A > -- Searches for all elements with given tag name.</DT ><DT ><A HREF="function.dom-domdocument-getelementsbytagnamens.html" >DOMDocument->getElementsByTagNameNS</A > -- Searches for all elements with given tag name in specified namespace. </DT ><DT ><A HREF="function.dom-domdocument-importnode.html" >DOMDocument->importNode</A > -- Import node into current document.</DT ><DT ><A HREF="function.dom-domdocument-load.html" >DOMDocument->load</A > -- Load XML from a file. </DT ><DT ><A HREF="function.dom-domdocument-loadhtml.html" >DOMDocument->loadHTML</A > -- Load HTML from a string. </DT ><DT ><A HREF="function.dom-domdocument-loadhtmlfile.html" >DOMDocument->loadHTMLFile</A > -- Load HTML from a file. </DT ><DT ><A HREF="function.dom-domdocument-loadxml.html" >DOMDocument->loadXML</A > -- Load XML from a string. </DT ><DT ><A HREF="function.dom-domdocument-normalize.html" >DOMDocument->normalize</A > -- Normalizes document. </DT ><DT ><A HREF="function.dom-domdocument-relaxngvalidate.html" >DOMDocument->relaxNGValidate</A > -- Performs relaxNG validation on the document. </DT ><DT ><A HREF="function.dom-domdocument-relaxngvalidatesource.html" >DOMDocument->relaxNGValidateSource</A > -- Performs relaxNG validation on the document. </DT ><DT ><A HREF="function.dom-domdocument-save.html" >DOMDocument->save</A > -- Dumps the internal XML tree back into a file </DT ><DT ><A HREF="function.dom-domdocument-savehtml.html" >DOMDocument->saveHTML</A > -- Dumps the internal document into a string using HTML formatting </DT ><DT ><A HREF="function.dom-domdocument-savehtmlfile.html" >DOMDocument->saveHTMLFile</A > -- Dumps the internal document back into a file using HTML formatting </DT ><DT ><A HREF="function.dom-domdocument-savexml.html" >DOMDocument->saveXML</A > -- Dumps the internal XML tree back into a string</DT ><DT ><A HREF="function.dom-domdocument-schemavalidate.html" >DOMDocument->schemaValidate</A > -- Validates a document based on a schema. </DT ><DT ><A HREF="function.dom-domdocument-schemavalidatesource.html" >DOMDocument->schemaValidateSource</A > -- Validates a document based on a schema. </DT ><DT ><A HREF="function.dom-domdocument-validate.html" >DOMDocument->validate</A > -- Validates the document based on its DTD. </DT ><DT ><A HREF="function.dom-domdocument-xinclude.html" >DOMDocument->xinclude</A > -- Substitutes XIncludes in a DOMDocument Object. </DT ><DT ><A HREF="function.dom-domelement-getattribute.html" >DOMElement->getAttribute</A > -- Returns value of attribute</DT ><DT ><A HREF="function.dom-domelement-getattributenode.html" >DOMElement->getAttributeNode</A > -- Returns attribute node</DT ><DT ><A HREF="function.dom-domelement-getattributenodens.html" >DOMElement->getAttributeNodeNS</A > -- Returns attribute node </DT ><DT ><A HREF="function.dom-domelement-getattributens.html" >DOMElement->getAttributeNS</A > -- Returns value of attribute</DT ><DT ><A HREF="function.dom-domelement-getelementsbytagname.html" >DOMElement->getElementsByTagName</A > -- Gets elements by tagname</DT ><DT ><A HREF="function.dom-domelement-getelementsbytagnamens.html" >DOMElement->getElementsByTagNameNS</A > -- Get elements by namespaceURI and localName</DT ><DT ><A HREF="function.dom-domelement-hasattribute.html" >DOMElement->hasAttribute</A > -- Checks to see if attribute exists</DT ><DT ><A HREF="function.dom-domelement-hasattributens.html" >DOMElement->hasAttributeNS</A > -- Checks to see if attribute exists </DT ><DT ><A HREF="function.dom-domelement-removeattribute.html" >DOMElement->removeAttribute</A > -- Removes attribute</DT ><DT ><A HREF="function.dom-domelement-removeattributenode.html" >DOMElement->removeAttributeNode</A > -- Removes attribute</DT ><DT ><A HREF="function.dom-domelement-removeattributens.html" >DOMElement->removeAttributeNS</A > -- Removes attribute</DT ><DT ><A HREF="function.dom-domelement-setattribute.html" >DOMElement->setAttribute</A > -- Adds new attribute</DT ><DT ><A HREF="function.dom-domelement-setattributenode.html" >DOMElement->setAttributeNode</A > -- Adds new attribute node to element</DT ><DT ><A HREF="function.dom-domelement-setattributenodens.html" >DOMElement->setAttributeNodeNS</A > -- Adds new attribute node to element</DT ><DT ><A HREF="function.dom-domelement-setattributens.html" >DOMElement->setAttributeNS</A > -- Adds new attribute</DT ><DT ><A HREF="function.dom-domimplementation-createdocument.html" >DOMImplementation->createDocument</A > -- Creates a DOM Document object of the specified type with its document element. </DT ><DT ><A HREF="function.dom-domimplementation-createdocumenttype.html" >DOMImplementation->createDocumentType</A > -- Creates an empty DOMDocumentType object. </DT ><DT ><A HREF="function.dom-domimplementation-hasfeature.html" >DOMImplementation->hasFeature</A > -- Test if the DOM implementation implements a specific feature and version. </DT ><DT ><A HREF="function.dom-domnamednodemap-getnameditem.html" >DOMNamedNodeMap->getNamedItem</A > -- Retrieves a node specified by name. </DT ><DT ><A HREF="function.dom-domnamednodemap-getnameditemns.html" >DOMNamedNodeMap->getNamedItemNS</A > -- Retrieves a node specified by local name and namespace URI. </DT ><DT ><A HREF="function.dom-domnamednodemap-item.html" >DOMNamedNodeMap->item</A > -- Retrieves a node specified by index.</DT ><DT ><A HREF="function.dom-domnode-appendchild.html" >DOMNode->appendChild</A > -- Adds new child at the end of the children </DT ><DT ><A HREF="function.dom-domnode-clonenode.html" >DOMNode->cloneNode</A > -- Clones a node </DT ><DT ><A HREF="function.dom-domnode-hasattributes.html" >DOMNode->hasAttributes</A > -- Checks if node has attributes </DT ><DT ><A HREF="function.dom-domnode-haschildnodes.html" >DOMNode->hasChildNodes</A > -- Checks if node has children </DT ><DT ><A HREF="function.dom-domnode-insertbefore.html" >DOMNode->insertBefore</A > -- Adds new child at the end of the children </DT ><DT ><A HREF="function.dom-domnode-issamenode.html" >DOMNode->isSameNode</A > -- Indicates if two nodes are the same node. </DT ><DT ><A HREF="function.dom-domnode-issupported.html" >DOMNode->isSupported</A > -- Checks if feature is supported for specified version. </DT ><DT ><A HREF="function.dom-domnode-lookupnamespaceuri.html" >DOMNode->lookupNamespaceURI</A > -- Returns namespace URI of the node based on the prefix. </DT ><DT ><A HREF="function.dom-domnode-lookupprefix.html" >DOMNode->lookupPrefix</A > -- Returns name space prefix of the node based on namespaceURI. </DT ><DT ><A HREF="function.dom-domnode-normalize.html" >DOMNode->normalize</A > -- Normalizes the node. </DT ><DT ><A HREF="function.dom-domnode-removechild.html" >DOMNode->removeChild</A > -- Removes child from list of children </DT ><DT ><A HREF="function.dom-domnode-replacechild.html" >DOMNode->replaceChild</A > -- Replaces a child </DT ><DT ><A HREF="function.dom-domnodelist-item.html" >DOMNodelist->item</A > -- Retrieves a node specified by index. </DT ><DT ><A HREF="function.dom-domtext-iswhitespaceinelementcontent.html" >DOMText->isWhitespaceInElementContent</A > -- Indicates whether this text node contains whitespace. </DT ><DT ><A HREF="function.dom-domtext-splittext.html" >DOMText->splitText</A > -- Breaks this node into two nodes at the specified offset. </DT ><DT ><A HREF="function.dom-domxpath-query.html" >DOMXPath->query</A > -- Evaluates the XPath expression in the given string </DT ><DT ><A HREF="function.dom-domxpath-registernamespace.html" >DOMXPath->registerNamespace</A > -- Registers the namespace with the DOMXpath object. </DT ></DL ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.scandir.html" ACCESSKEY="P" >Înapoi</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Acasã</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.dom-domattr-isid.html" ACCESSKEY="N" >Înainte</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >scandir</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="funcref.html" ACCESSKEY="U" >Sus</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >DOMAttr->isId</TD ></TR ></TABLE ></DIV ></BODY ></HTML >