php-doc-en/reference/dom/reference.xml

156 lines
3.7 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<reference id="ref.dom">
<title>DOM Functions</title>
<titleabbrev>DOM</titleabbrev>
<partintro>
<section id="dom.intro">
&reftitle.intro;
<para>
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.
</para>
<para>
The extension allows you to operate on an XML document with the DOM API.
</para>
</section>
&reference.dom.constants;
<section id="dom.classes">
<title>Classes</title>
<para>
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.
</para>
<para>
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.
</para>
<para>
<table>
<title>List of classes</title>
<tgroup cols="2">
<thead>
<row>
<entry>Class name</entry>
<entry>Parent classes</entry>
</row>
</thead>
<tbody>
<row>
<entry>DOMAttr</entry>
<entry>DOMNode</entry>
</row>
<row>
<entry>DOMCDataSection</entry>
<entry>DOMText : DOMNode</entry>
</row>
<row>
<entry>DOMCharacterData</entry>
<entry>DOMNode</entry>
</row>
<row>
<entry>DOMComment</entry>
<entry>DOMCharacterData : DomNode</entry>
</row>
<row>
<entry>DOMDocument</entry>
<entry>DOMNode</entry>
</row>
<row>
<entry>DOMDocumentFragment</entry>
<entry>DOMNode</entry>
</row>
<row>
<entry>DOMDocumentType</entry>
<entry>DOMNode</entry>
</row>
<row>
<entry>DOMElement</entry>
<entry>DOMNode</entry>
</row>
<row>
<entry>DOMEntity</entry>
<entry>DOMNode</entry>
</row>
<row>
<entry>DOMEntityReference</entry>
<entry>DOMNode</entry>
</row>
<row>
<entry>DOMNode</entry>
<entry></entry>
</row>
<row>
<entry>DOMNotation</entry>
<entry>DOMNode</entry>
</row>
<row>
<entry>DOMProcessingInstruction</entry>
<entry>DOMNode</entry>
</row>
<row>
<entry>DOMText</entry>
<entry>DOMCDataSection : DomNode</entry>
</row>
<row>
<entry>DOMException</entry>
<entry></entry>
</row>
<row>
<entry>DOMImplementation</entry>
<entry></entry>
</row>
<row>
<entry>DOMNamedNodeMap</entry>
<entry></entry>
</row>
<row>
<entry>DOMNodeList</entry>
<entry></entry>
</row>
<row>
<entry>DOMXPath</entry>
<entry></entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</section>
</partintro>
&reference.dom.functions;
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->