didou Fri Dec 17 11:15:38 2004 EDT
Added files:
/phpdoc/en/reference/dom/functions dom-domdocument-construct.xml
dom-domstringlist-item.xml
dom-domxpath-evaluate.xml
Modified files:
/phpdoc/entities global.ent
/phpdoc/en/reference/dom reference.xml
/phpdoc/en/reference/dom/functions dom-domxpath-query.xml
Log:
Rewrote the DOM reference page and detailed every class methods and props
There's still a lot to do here, but at least there's a bunch of new
information, feel free to fill in the blanks
http://cvs.php.net/diff.php/phpdoc/entities/global.ent?r1=1.206&r2=1.207&ty=u
Index: phpdoc/entities/global.ent
diff -u phpdoc/entities/global.ent:1.206 phpdoc/entities/global.ent:1.207
--- phpdoc/entities/global.ent:1.206 Wed Dec 15 21:45:37 2004
+++ phpdoc/entities/global.ent Fri Dec 17 11:15:36 2004
@@ -1,6 +1,6 @@
<!-- -*- SGML -*-
- $Id: global.ent,v 1.206 2004/12/16 02:45:37 hsc Exp $
+ $Id: global.ent,v 1.207 2004/12/17 16:15:36 didou Exp $
Contains global "macros" for all the XML documents.
@@ -60,6 +60,7 @@
<!ENTITY url.docbook.xml "http://www.oasis-open.org/docbook/xml/">
<!ENTITY url.docbook-dtdref "http://www.docbook.org/tdg/en/html/part2.html">
<!ENTITY url.docbook-intro
"http://nis-www.lanl.gov/~rosalia/mydocs/docbook-intro.html">
+<!ENTITY url.dom2.spec "http://www.w3c.org/DOM/DOMTR#dom2">
<!ENTITY url.domxml "http://www.xmlsoft.org/">
<!ENTITY url.dsssl "http://www.jclark.com/dsssl/">
<!ENTITY url.echo-print
"http://www.faqts.com/knowledge_base/view.phtml/aid/1/fid/40">
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/reference.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/dom/reference.xml
diff -u phpdoc/en/reference/dom/reference.xml:1.3
phpdoc/en/reference/dom/reference.xml:1.4
--- phpdoc/en/reference/dom/reference.xml:1.3 Sat Oct 30 11:13:49 2004
+++ phpdoc/en/reference/dom/reference.xml Fri Dec 17 11:15:37 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<reference id="ref.dom">
<title>DOM Functions</title>
<titleabbrev>DOM</titleabbrev>
@@ -19,120 +19,1053 @@
</para>
</section>
- &reference.dom.constants;
-
- <section id="dom.classes">
- <title>Classes</title>
+ <section id='dom.classes'>
+ &reftitle.classes;
<para>
- The API of the module follows the DOM Level 2 standard as closely
+ The API of the module follows the <ulink
+ url="&url.dom2.spec;">DOM Level 2</ulink> 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</entry>
- </row>
- <row>
- <entry>DOMCharacterData</entry>
- <entry>DOMNode</entry>
- </row>
- <row>
- <entry>DOMComment</entry>
- <entry>DOMCharacterData</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>DOMCharacterData</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>
+ This module defines a number of classes, which are explained in the
+ following tables. Classes with an equivalent in the DOM standard are
+ named DOMxxx.
</para>
- </section>
+ <section id='dom.class.domattr'>
+ <title><classname>DOMAttr</classname></title>
+ <para>
+ Extends <classname>DOMNode</classname>.
+ </para>
+ <section id='dom.class.domattr.methods'>
+ &reftitle.methods;
+ <itemizedlist>
+ <listitem>
+ <para><link linkend='function.dom-domattr-isid'>isId</link> - Checks
if attribute is a defined ID</para>
+ </listitem>
+ </itemizedlist>
+ </section>
+ <section id='dom.class.domattr.properties'>
+ &reftitle.properties;
+ <table>
+ <title/>
+ <tgroup cols="4">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Type</entry>
+ <entry>Read-only</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>name</entry>
+ <entry>string</entry>
+ <entry>yes</entry>
+ <entry>The name of the attribute</entry>
+ </row>
+ <row>
+ <entry>ownerElement</entry>
+ <entry>DOMElement</entry>
+ <entry>yes</entry>
+ <entry>The element which contains the attribute</entry>
+ </row>
+ <row>
+ <entry>schemaTypeInfo</entry>
+ <entry>bool</entry>
+ <entry>yes</entry>
+ <entry>Not implemented yet, always return &true;</entry>
+ </row>
+ <row>
+ <entry>specified</entry>
+ <entry>bool</entry>
+ <entry>yes</entry>
+ <entry>Not implemented yet, always return &true;</entry>
+ </row>
+ <row>
+ <entry>value</entry>
+ <entry>string</entry>
+ <entry>no</entry>
+ <entry>The value of the attribute</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </section>
+ </section>
+
+ <section id='dom.class.domcharacterdata'>
+ <title><classname>DOMCharacterData</classname></title>
+ <para>
+ Extends <classname>DOMNode</classname>.
+ </para>
+ <section id='dom.class.domcharacterdata.methods'>
+ &reftitle.methods;
+ <itemizedlist>
+ <listitem>
+ <para><link
linkend='function.dom-domcharacterdata-appenddata'>appendData</link> - Append a
string to the end of the character data of the node</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domcharacterdata-deletedata'>deleteData</link> - Remove a
range of characters from the node</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domcharacterdata-insertdata'>insertData</link> - Insert a
string at the specified 16-bit unit offset</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domcharacterdata-replacedata'>replaceData</link> -
Replace a substring within the DOMCharacterData node</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domcharacterdata-substringdata'>substringData</link> -
Extracts a range of data from the node</para>
+ </listitem>
+ </itemizedlist>
+ </section>
+ <section id='dom.class.domcharacterdata.properties'>
+ &reftitle.properties;
+ <table>
+ <title/>
+ <tgroup cols="4">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Type</entry>
+ <entry>Read-only</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>data</entry>
+ <entry>string</entry>
+ <entry>no</entry>
+ <entry>The contents of the node</entry>
+ </row>
+ <row>
+ <entry>length</entry>
+ <entry>int</entry>
+ <entry>yes</entry>
+ <entry>The length of the contents</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </section>
+ </section>
+
+ <section id='dom.class.domdocument'>
+ <title><classname>DOMDocument</classname></title>
+ <para>
+ Extends <classname>DOMNode</classname>.
+ </para>
+ <section id='dom.class.domdocument.constructor'>
+ &reftitle.constructor;
+ <itemizedlist>
+ <listitem>
+ <para><link
linkend='function.dom-domdocument-construct'>__construct</link> - construct a
new DOMDocument object</para>
+ </listitem>
+ </itemizedlist>
+ </section>
+ <section id='dom.class.domdocument.methods'>
+ &reftitle.methods;
+ <itemizedlist>
+ <listitem>
+ <para><link
linkend='function.dom-domdocument-createattribute'>createAttribute</link> -
Create new attribute</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domdocument-createattributens'>createAttributeNS</link> -
Create new attribute node with an associated namespace</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domdocument-createcdatasection'>createCDATASection</link>
- Create new cdata node</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domdocument-createcomment'>createComment</link> - Create
new comment node</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domdocument-createdocumentfragment'>createDocumentFragment</link>
- Create new document fragment</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domdocument-createelement'>createElement</link> - Create
new element node</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domdocument-createelementns'>createElementNS</link> -
Create new element node with an associated namespace</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domdocument-createentityreference'>createEntityReference</link>
- Create new entity reference node</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domdocument-createprocessinginstruction'>createProcessingInstruction</link>
- Creates new PI node</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domdocument-createtextnode'>createTextNode</link> -
Create new text node</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domdocument-getelementbyid'>getElementById</link> -
Searches for an element with a certain id</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domdocument-getelementsbytagname'>getElementsByTagName</link>
- Searches for all elements with given tag name</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domdocument-getelementsbytagnamens'>getElementsByTagNameNS</link>
- Searches for all elements with given tag name in specified namespace</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domdocument-importnode'>importNode</link> - Import node
into current document</para>
+ </listitem>
+ <listitem>
+ <para><link linkend='function.dom-domdocument-load'>load</link> - Load
XML from a file</para>
+ </listitem>
+ <listitem>
+ <para><link linkend='function.dom-domdocument-loadhtml'>loadHTML</link>
- Load HTML from a string</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domdocument-loadxmlfile'>loadHTMLFile</link> - Load HTML
from a file</para>
+ </listitem>
+ <listitem>
+ <para><link linkend='function.dom-domdocument-loadxml'>loadXML</link> -
Load XML from a string</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domdocument-normalize'>normalize</link> - Normalizes
document</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domdocument-relaxngvalidate'>relaxNGValidate</link> -
Performs relaxNG validation on the document</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domdocument-relaxngvalidatesource'>relaxNGValidateSource</link>
- Performs relaxNG validation on the document</para>
+ </listitem>
+ <listitem>
+ <para><link linkend='function.dom-domdocument-save'>save</link> - Dumps
the internal XML tree back into a file</para>
+ </listitem>
+ <listitem>
+ <para><link linkend='function.dom-domdocument-savehtml'>saveHTML</link>
- Dumps the internal document into a string using HTML formatting</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domdocument-savehtmlfile'>saveHTMLFile</link> - Dumps the
internal document back into a file using HTML formatting</para>
+ </listitem>
+ <listitem>
+ <para><link linkend='function.dom-domdocument-savexml'>saveXML</link> -
Dumps the internal XML tree back into a string</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domdocument-schemavalidate'>schemaValidate</link> -
Validates a document based on a schema</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domdocument-schemavalidatesource'>schemaValidateSource</link>
- Validates a document based on a schema</para>
+ </listitem>
+ <listitem>
+ <para><link linkend='function.dom-domdocument-validate'>validate</link>
- Validates the document based on its DTD</para>
+ </listitem>
+ <listitem>
+ <para><link linkend='function.dom-domdocument-xinclude'>xinclude</link>
- Substitutes XIncludes in a DOMDocument Object</para>
+ </listitem>
+ </itemizedlist>
+ </section>
+ <section id='dom.class.domdocument.properties'>
+ &reftitle.properties;
+ <table>
+ <title/>
+ <tgroup cols="4">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Type</entry>
+ <entry>Read-only</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>actualEncoding</entry>
+ <entry>string</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>config</entry>
+ <entry>DOMConfiguration</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>doctype</entry>
+ <entry>DOMDocumentType</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>documentElement</entry>
+ <entry>DOMElement</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>documentURI</entry>
+ <entry>string</entry>
+ <entry>no</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>encoding</entry>
+ <entry>string</entry>
+ <entry>no</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>formatOutput</entry>
+ <entry>bool</entry>
+ <entry>no</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>implementation</entry>
+ <entry>DOMImplementation</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>preserveWhiteSpace</entry>
+ <entry>bool</entry>
+ <entry>no</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>recover</entry>
+ <entry>bool</entry>
+ <entry>no</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>resolveExternals</entry>
+ <entry>bool</entry>
+ <entry>no</entry>
+ <entry>
+ Set it to &true; to load external entities from a doctype
+ declaration. This is useful for including character entities in
+ your XML document.
+ </entry>
+ </row>
+ <row>
+ <entry>standalone</entry>
+ <entry>bool</entry>
+ <entry>no</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>strictErrorChecking</entry>
+ <entry>bool</entry>
+ <entry>no</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>substituteEntities</entry>
+ <entry>bool</entry>
+ <entry>no</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>validateOnParse</entry>
+ <entry>bool</entry>
+ <entry>no</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>version</entry>
+ <entry>string</entry>
+ <entry>no</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>xmlEncoding</entry>
+ <entry>string</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>xmlStandalone</entry>
+ <entry>bool</entry>
+ <entry>no</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>xmlVersion</entry>
+ <entry>string</entry>
+ <entry>no</entry>
+ <entry></entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </section>
+ </section>
+
+ <section id='dom.class.domdocumenttype'>
+ <title><classname>DOMDocumentType</classname></title>
+ <para>
+ Extends <classname>DOMNode</classname>
+ </para>
+ <section id='dom.class.domdocumenttype.properties'>
+ &reftitle.properties;
+ <table>
+ <title/>
+ <tgroup cols="4">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Type</entry>
+ <entry>Read-only</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>publicId</entry>
+ <entry>string</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>systemId</entry>
+ <entry>string</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>name</entry>
+ <entry>string</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>entities</entry>
+ <entry>DOMNamedNodeMap</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>notations</entry>
+ <entry>DOMNamedNodeMap</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>internalSubset</entry>
+ <entry>string</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </section>
+ </section>
+
+ <section id='dom.class.domelement'>
+ <title><classname>DOMElement</classname></title>
+ <para>
+ Extends <classname>DOMNode</classname>.
+ </para>
+ <section id='dom.class.domelement.methods'>
+ &reftitle.methods;
+ <itemizedlist>
+ <listitem>
+ <para><link
linkend='function.dom-domelement-getattribute'>getAttribute</link> - Returns
value of attribute</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domelement-getattributenode'>getAttributeNode</link> -
Returns attribute node</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domelement-getattributenodens'>getAttributeNodeNS</link>
- Returns attribute node</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domelement-getattributens'>getAttributeNS</link> -
Returns value of attribute</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domelement-getelementsbytagname'>getElementsByTagName</link>
- Gets elements by tagname</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domelement-getelementsbytagnamens'>getElementsByTagNameNS</link>
- Get elements by namespaceURI and localName</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domelement-hasattribute'>hasAttribute</link> - Checks to
see if attribute exists</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domelement-hasattributens'>hasAttributeNS</link> - Checks
to see if attribute exists</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domelement-removeattribute'>removeAttribute</link> -
Removes attribute</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domelement-removeattributenode'>removeAttributeNode</link>
- Removes attribute</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domelement-removeattributens'>removeAttributeNS</link> -
Removes attribute</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domelement-setattribute'>setAttribute</link> - Adds new
attribute</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domelement-setattributenode'>setAttributeNode</link> -
Adds new attribute node to element</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domelement-setattributenodens'>setAttributeNodeNS</link>
- Adds new attribute node to element</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domelement-setattributens'>setAttributeNS</link> - Adds
new attribute</para>
+ </listitem>
+ </itemizedlist>
+ </section>
+ <section id='dom.class.domelement.properties'>
+ &reftitle.properties;
+ <table>
+ <title/>
+ <tgroup cols="4">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Type</entry>
+ <entry>Read-only</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>schemaTypeInfo</entry>
+ <entry>bool</entry>
+ <entry>yes</entry>
+ <entry>Not implemented yet, always return &true;</entry>
+ </row>
+ <row>
+ <entry>tagName</entry>
+ <entry>string</entry>
+ <entry>yes</entry>
+ <entry>The element name</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </section>
+ </section>
+
+ <section id='dom.class.domentity'>
+ <title><classname>DOMEntity</classname></title>
+ <para>
+ Extends <classname>DOMNode</classname>
+ </para>
+ <section id='dom.class.domentity.properties'>
+ &reftitle.properties;
+ <table>
+ <title/>
+ <tgroup cols="4">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Type</entry>
+ <entry>Read-only</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>publicId</entry>
+ <entry>string</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>systemId</entry>
+ <entry>string</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>notationName</entry>
+ <entry>string</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>actualEncoding</entry>
+ <entry>string</entry>
+ <entry>no</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>encoding</entry>
+ <entry>string</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>version</entry>
+ <entry>string</entry>
+ <entry>no</entry>
+ <entry></entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </section>
+ </section>
+
+ <section id='dom.class.domentityreference'>
+ <title><classname>DOMEntityReference</classname></title>
+ <para>
+ Extends <classname>DOMNode</classname>.
+ </para>
+ </section>
+
+ <section id='dom.class.domexception'>
+ <title><classname>DOMException</classname></title>
+ <para>
+ DOM operations raise exceptions under perticular circumstances, i.e.,
+ when an operation is impossible to perform for logical reasons.
+ </para>
+ <para>
+ See also <xref linkend="language.oop5.exceptions"/>.
+ </para>
+ <section id='dom.class.domexception.properties'>
+ &reftitle.properties;
+ <table>
+ <title/>
+ <tgroup cols="4">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Type</entry>
+ <entry>Read-only</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>code</entry>
+ <entry>int</entry>
+ <entry>yes</entry>
+ <entry>An integer indicating the type of error generated</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </section>
+ </section>
+
+ <section id='dom.class.domnamelist'>
+ <title><classname>DOMNameList</classname></title>
+ <para>
+
+ </para>
+ <section id='dom.class.domnamelist.methods'>
+ &reftitle.methods;
+ <itemizedlist>
+ <listitem>
+ <para><link linkend='function.dom-domnamelist-getname'>getName</link>
- </para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domnamelist-getnamespaceuri'>getNamespaceURI</link> -
</para>
+ </listitem>
+ </itemizedlist>
+ </section>
+ <section id='dom.class.domnamelist.properties'>
+ &reftitle.properties;
+ <table>
+ <title/>
+ <tgroup cols="4">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Type</entry>
+ <entry>Read-only</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>length</entry>
+ <entry>int</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </section>
+ </section>
+
+
+ <section id='dom.class.domnode'>
+ <title><classname>DOMNode</classname></title>
+ <section id='dom.class.domnode.methods'>
+ &reftitle.methods;
+ <itemizedlist>
+ <listitem>
+ <para><link
linkend='function.dom-domnode-appendchild'>appendChild</link> - Adds new child
at the end of the children</para>
+ </listitem>
+ <listitem>
+ <para><link linkend='function.dom-domnode-clonenode'>cloneNode</link>
- Clones a node</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domnode-hasattributes'>hasAttributes</link> - Checks if
node has attributes</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domnode-haschildnodes'>hasChildNodes</link> - Checks if
node has children</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domnode-insertbefore'>insertBefore</link> - Adds new
child at the end of the children</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domnode-issamenode'>isSameNode</link> - Indicates if two
nodes are the same node</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domnode-issupported'>isSupported</link> - Checks if
feature is supported for specified version</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domnode-lookupnamespaceuri'>lookupNamespaceURI</link> -
Returns namespace URI of the node based on the prefix</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domnode-lookupprefix'>lookupPrefix</link> - Returns name
space prefix of the node based on namespaceURI</para>
+ </listitem>
+ <listitem>
+ <para><link linkend='function.dom-domnode-normalize'>normalize</link>
- Normalizes the node</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domnode-removechild'>removeChild</link> - Removes child
from list of children</para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domnode-replacechild'>replaceChild</link> - Replaces a
child</para>
+ </listitem>
+ </itemizedlist>
+ </section>
+ <section id='dom.class.domnode.properties'>
+ &reftitle.properties;
+ <table>
+ <title/>
+ <tgroup cols="4">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Type</entry>
+ <entry>Read-only</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>nodeName</entry>
+ <entry>string</entry>
+ <entry>yes</entry>
+ <entry>Returns the more accurate name for the current node
type</entry>
+ </row>
+ <row>
+ <entry>nodeValue</entry>
+ <entry>string</entry>
+ <entry>no</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>nodeType</entry>
+ <entry>int</entry>
+ <entry>yes</entry>
+ <entry>Gets the type of the node. One of the predefined XML_xxx_NODE
constants</entry>
+ </row>
+ <row>
+ <entry>parentNode</entry>
+ <entry>DOMNode</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>childNodes</entry>
+ <entry>DOMNodeList</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>firstChild</entry>
+ <entry>DOMNode</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>lastChild</entry>
+ <entry>DOMNode</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>previousSibling</entry>
+ <entry>DOMNode</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>nextSibling</entry>
+ <entry>DOMNode</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>attributes</entry>
+ <entry>DomNamedNodeMap</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>ownerDocument</entry>
+ <entry>DOMDocument</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>namespaceURI</entry>
+ <entry>string</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>prefix</entry>
+ <entry>string</entry>
+ <entry>no</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>localName</entry>
+ <entry>string</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>baseURI</entry>
+ <entry>string</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>textContent</entry>
+ <entry>string</entry>
+ <entry>no</entry>
+ <entry></entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </section>
+ </section>
+
+ <section id='dom.class.domnotation'>
+ <title><classname>DOMNotation</classname></title>
+ <para>
+ Extends <classname>DOMNode</classname>
+ </para>
+ <section id='dom.class.domnotation.properties'>
+ &reftitle.properties;
+ <table>
+ <title/>
+ <tgroup cols="4">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Type</entry>
+ <entry>Read-only</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>publicId</entry>
+ <entry>string</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>systemId</entry>
+ <entry>string</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </section>
+ </section>
+
+
+ <section id='dom.class.domprocessinginstruction'>
+ <title><classname>DOMProcessingInstruction</classname></title>
+ <para>
+ Extends <classname>DOMNode</classname>.
+ </para>
+ <section id='dom.class.domprocessinginstruction.properties'>
+ &reftitle.properties;
+ <table>
+ <title/>
+ <tgroup cols="4">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Type</entry>
+ <entry>Read-only</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>target</entry>
+ <entry>string</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry>data</entry>
+ <entry>string</entry>
+ <entry>no</entry>
+ <entry></entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </section>
+ </section>
+
+ <section id='dom.class.domstringlist'>
+ <title><classname>DOMStringList</classname></title>
+ <para>
+
+ </para>
+ <section id='dom.class.domstringlist.methods'>
+ &reftitle.methods;
+ <itemizedlist>
+ <listitem>
+ <para><link linkend='function.dom-domstringlist-item'>item</link> -
Return the specified index of the collection</para>
+ </listitem>
+ </itemizedlist>
+ </section>
+ <section id='dom.class.domstringlist.properties'>
+ &reftitle.properties;
+ <table>
+ <title/>
+ <tgroup cols="4">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Type</entry>
+ <entry>Read-only</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>length</entry>
+ <entry>int</entry>
+ <entry>yes</entry>
+ <entry>
+ The number of DOMStrings in the list. Not implemented yet, always
return &true;.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </section>
+ </section>
+
+ <section id='dom.class.domtext'>
+ <title><classname>DOMText</classname></title>
+ <para>
+
+ </para>
+ <section id='dom.class.domtext.methods'>
+ &reftitle.methods;
+ <itemizedlist>
+ <listitem>
+ <para><link
linkend='function.dom-domtext-iselementcontentwhitespace'>isElementContentWhitespace</link>
- </para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domtext-isWhitespaceinelementcontent'>isWhitespaceInElementContent</link>
- </para>
+ </listitem>
+ <listitem>
+ <para><link
linkend='function.dom-domtext-replacewholetext'>replaceWholeText</link> -
</para>
+ </listitem>
+ <listitem>
+ <para><link linkend='function.dom-domtext-splittext'>splitText</link>
- </para>
+ </listitem>
+ </itemizedlist>
+ </section>
+ <section id='dom.class.domtext.properties'>
+ &reftitle.properties;
+ <table>
+ <title/>
+ <tgroup cols="4">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Type</entry>
+ <entry>Read-only</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>wholeText</entry>
+ <entry>string</entry>
+ <entry>yes</entry>
+ <entry></entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </section>
+ </section>
+
+
+ <section id='dom.class.domxpath'>
+ <title><classname>DOMXPath</classname></title>
+ <para>
+ </para>
+ <section id='dom.class.domxpath.methods'>
+ &reftitle.methods;
+ <itemizedlist>
+ <listitem>
+ <para><link
linkend='function.dom-domxpath-registernamespace'>registerNamespace</link> -
Registers the namespace with the DOMXpath object</para>
+ </listitem>
+ <listitem>
+ <para><link linkend='function.dom-domxpath-evaluate'>evaluate</link> -
Evaluates the given XPath expression and returns a typed result</para>
+ </listitem>
+ <listitem>
+ <para><link linkend='function.dom-domxpath-query'>query</link> -
Evaluates the given XPath expression</para>
+ </listitem>
+ </itemizedlist>
+ </section>
+ <section id='dom.class.domxpath.properties'>
+ &reftitle.properties;
+ <table>
+ <title/>
+ <tgroup cols="4">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Type</entry>
+ <entry>Read-only</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>document</entry>
+ <entry>DOMDocument</entry>
+ <entry></entry>
+ <entry></entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </section>
+ </section>
+
+ </section>
+
+ &reference.dom.constants;
+
</partintro>
&reference.dom.functions;
-
</reference>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domxpath-query.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domxpath-query.xml
diff -u phpdoc/en/reference/dom/functions/dom-domxpath-query.xml:1.4
phpdoc/en/reference/dom/functions/dom-domxpath-query.xml:1.5
--- phpdoc/en/reference/dom/functions/dom-domxpath-query.xml:1.4 Fri Dec
17 10:11:30 2004
+++ phpdoc/en/reference/dom/functions/dom-domxpath-query.xml Fri Dec 17
11:15:37 2004
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<refentry id="function.dom-domxpath-query">
<refnamediv>
<refname>DOMXPath->query</refname>
<refpurpose>
- Evaluates the XPath expression in the given string
+ Evaluates the given XPath expression
</refpurpose>
</refnamediv>
<refsect1>
http://cvs.php.net/co.php/phpdoc/en/reference/dom/functions/dom-domdocument-construct.xml?r=1.1&p=1
Index: phpdoc/en/reference/dom/functions/dom-domdocument-construct.xml
+++ phpdoc/en/reference/dom/functions/dom-domdocument-construct.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<refentry id='function.dom-domdocument-construct'>
<refnamediv>
<refname>DOMDocument->__construct</refname>
<refpurpose>
Creates a new DOMDocument object
</refpurpose>
</refnamediv>
<refsect1>
&reftitle.description;
<classsynopsis>
<ooclass><classname>DOMDocument</classname></ooclass>
<constructorsynopsis>
<methodname>__construct</methodname>
<methodparam
choice='opt'><type>string</type><parameter>version</parameter></methodparam>
<methodparam
choice='opt'><type>string</type><parameter>encoding</parameter></methodparam>
</constructorsynopsis>
</classsynopsis>
<para>
Creates a new DOMDocument object.
</para>
</refsect1>
</refentry>
<!-- 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
-->
http://cvs.php.net/co.php/phpdoc/en/reference/dom/functions/dom-domstringlist-item.xml?r=1.1&p=1
Index: phpdoc/en/reference/dom/functions/dom-domstringlist-item.xml
+++ phpdoc/en/reference/dom/functions/dom-domstringlist-item.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<refentry id='function.dom-domstringlist-item'>
<refnamediv>
<refname>DOMStringList->item</refname>
<refpurpose>
Return the specified index of the collection
</refpurpose>
</refnamediv>
<refsect1>
&reftitle.description;
<classsynopsis>
<ooclass><classname>DOMStringList</classname></ooclass>
<methodsynopsis>
<type>DOMString</type>
<methodname>item</methodname>
<methodparam><type>int</type><parameter>index</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
<para>
Not implemented yet.
</para>
</refsect1>
</refentry>
<!-- 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
-->
http://cvs.php.net/co.php/phpdoc/en/reference/dom/functions/dom-domxpath-evaluate.xml?r=1.1&p=1
Index: phpdoc/en/reference/dom/functions/dom-domxpath-evaluate.xml
+++ phpdoc/en/reference/dom/functions/dom-domxpath-evaluate.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.dom-domxpath-evaluate">
<refnamediv>
<refname>DOMXPath->evaluate</refname>
<refpurpose>
Evaluates the given XPath expression and returns a typed result
</refpurpose>
</refnamediv>
<refsect1>
&reftitle.description;
<classsynopsis>
<ooclass><classname>DOMXPath</classname></ooclass>
<methodsynopsis>
<type>mixed</type>
<methodname>evaluate</methodname>
<methodparam><type>string</type><parameter>expression</parameter></methodparam>
<methodparam
choice="opt"><type>DOMNode</type><parameter>contextnode</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
&warn.undocumented.func;
</refsect1>
</refentry>
<!-- 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
-->