didou Mon Dec 27 11:53:36 2004 EDT
Modified files:
/phpdoc/en/reference/dom reference.xml
/phpdoc/en/reference/dom/functions
dom-domtext-iswhitespaceinelementcontent.xml
dom-domtext-splittext.xml
dom-domattr-isid.xml
dom-import-simplexml.xml
dom-domnode-normalize.xml
dom-domimplementation-createdocument.xml
dom-domnodelist-item.xml
Log:
fix build and document DOMText, correct some other files
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/reference.xml?r1=1.10&r2=1.11&ty=u
Index: phpdoc/en/reference/dom/reference.xml
diff -u phpdoc/en/reference/dom/reference.xml:1.10
phpdoc/en/reference/dom/reference.xml:1.11
--- phpdoc/en/reference/dom/reference.xml:1.10 Mon Dec 20 19:36:55 2004
+++ phpdoc/en/reference/dom/reference.xml Mon Dec 27 11:53:35 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
<reference id="ref.dom">
<title>DOM Functions</title>
<titleabbrev>DOM</titleabbrev>
@@ -1101,16 +1101,10 @@
&reftitle.methods;
<itemizedlist>
<listitem>
- <para><xref linkend='function.dom-domtext-iselementcontentwhitespace'
/> - </para>
+ <para><xref
linkend='function.dom-domtext-iswhitespaceinelementcontent' /> - Indicates
whether this text node contains whitespace</para>
</listitem>
<listitem>
- <para><xref
linkend='function.dom-domtext-iswhitespaceinelementcontent' /> - </para>
- </listitem>
- <listitem>
- <para><xref linkend='function.dom-domtext-replacewholetext' /> -
</para>
- </listitem>
- <listitem>
- <para><xref linkend='function.dom-domtext-splittext' /> - </para>
+ <para><xref linkend='function.dom-domtext-splittext' /> - Breaks the
node into two nodes at the specified offset</para>
</listitem>
</itemizedlist>
</section>
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domtext-iswhitespaceinelementcontent.xml?r1=1.4&r2=1.5&ty=u
Index:
phpdoc/en/reference/dom/functions/dom-domtext-iswhitespaceinelementcontent.xml
diff -u
phpdoc/en/reference/dom/functions/dom-domtext-iswhitespaceinelementcontent.xml:1.4
phpdoc/en/reference/dom/functions/dom-domtext-iswhitespaceinelementcontent.xml:1.5
---
phpdoc/en/reference/dom/functions/dom-domtext-iswhitespaceinelementcontent.xml:1.4
Fri Dec 17 10:11:30 2004
+++
phpdoc/en/reference/dom/functions/dom-domtext-iswhitespaceinelementcontent.xml
Mon Dec 27 11:53:36 2004
@@ -1,29 +1,35 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
- <refentry id='function.dom-domtext-iswhitespaceinelementcontent'>
- <refnamediv>
- <refname>DOMText->isWhitespaceInElementContent</refname>
- <refpurpose>
- Indicates whether this text node contains whitespace
- </refpurpose>
- </refnamediv>
- <refsect1>
- &reftitle.description;
- <classsynopsis>
- <ooclass><classname>DOMText</classname></ooclass>
- <methodsynopsis>
- <type>bool</type>
- <methodname>isWhitespaceInElementContent</methodname>
- <void/>
- </methodsynopsis>
- </classsynopsis>
- <para>
- Indicates whether this text node contains whitespace. The text node is
- determined to contain whitespace in element content during the load of
the
- document.
- </para>
- </refsect1>
- </refentry>
+<!-- $Revision: 1.5 $ -->
+<refentry id='function.dom-domtext-iswhitespaceinelementcontent'>
+ <refnamediv>
+ <refname>DOMText->isWhitespaceInElementContent()</refname>
+ <refpurpose>
+ Indicates whether this text node contains whitespace
+ </refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+ &reftitle.description;
+ <classsynopsis>
+ <ooclass><classname>DOMText</classname></ooclass>
+ <methodsynopsis>
+ <type>bool</type>
+ <methodname>isWhitespaceInElementContent</methodname>
+ <void/>
+ </methodsynopsis>
+ </classsynopsis>
+ <para>
+ Indicates whether this text node contains whitespace. The text node is
+ determined to contain whitespace in element content during the load of the
+ document.
+ </para>
+ </refsect1>
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ &return.success;
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domtext-splittext.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domtext-splittext.xml
diff -u phpdoc/en/reference/dom/functions/dom-domtext-splittext.xml:1.5
phpdoc/en/reference/dom/functions/dom-domtext-splittext.xml:1.6
--- phpdoc/en/reference/dom/functions/dom-domtext-splittext.xml:1.5 Fri Dec
17 10:11:30 2004
+++ phpdoc/en/reference/dom/functions/dom-domtext-splittext.xml Mon Dec 27
11:53:36 2004
@@ -1,34 +1,57 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
- <refentry id='function.dom-domtext-splittext'>
- <refnamediv>
- <refname>DOMText->splitText</refname>
- <refpurpose>
- Breaks this node into two nodes at the specified offset
- </refpurpose>
- </refnamediv>
- <refsect1>
- &reftitle.description;
- <classsynopsis>
- <ooclass><classname>DOMText</classname></ooclass>
- <methodsynopsis>
- <type>DOMText</type>
- <methodname>splitText</methodname>
- <methodparam><type>int</type><parameter>offset</parameter></methodparam>
- </methodsynopsis>
- </classsynopsis>
- <para>
- Breaks this node into two nodes at the specified
<parameter>offset</parameter>,
- keeping both in the tree as siblings. After being split, this node will
- contain all the content up to the <parameter>offset</parameter>. A new
- node of the same type, which contains all the content at and after the
- <parameter>offset</parameter>, is returned. If the original node had a
- parent node, the new node is inserted as the next sibling of the original
- node. When the <parameter>offset</parameter> is equal to the length of
- this node, the new node has no data.
- </para>
- </refsect1>
- </refentry>
+<!-- $Revision: 1.6 $ -->
+<refentry id='function.dom-domtext-splittext'>
+ <refnamediv>
+ <refname>DOMText->splitText()</refname>
+ <refpurpose>
+ Breaks this node into two nodes at the specified offset
+ </refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+ &reftitle.description;
+ <classsynopsis>
+ <ooclass><classname>DOMText</classname></ooclass>
+ <methodsynopsis>
+ <type>DOMText</type>
+ <methodname>splitText</methodname>
+ <methodparam><type>int</type><parameter>offset</parameter></methodparam>
+ </methodsynopsis>
+ </classsynopsis>
+ <para>
+ Breaks this node into two nodes at the specified
<parameter>offset</parameter>,
+ keeping both in the tree as siblings.
+ </para>
+ <para>
+ After being split, this node will contain all the content up to the
+ <parameter>offset</parameter>. If the original node had a parent node,
+ the new node is inserted as the next sibling of the original node.
+ When the <parameter>offset</parameter> is equal to the length of this node,
+ the new node has no data.
+ </para>
+ </refsect1>
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>offset</parameter></term>
+ <listitem>
+ <para>
+ The offset at which to split, starting from 0.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1>
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ The new node of the same type, which contains all the content at and after
the
+ <parameter>offset</parameter>.
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domattr-isid.xml?r1=1.8&r2=1.9&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domattr-isid.xml
diff -u phpdoc/en/reference/dom/functions/dom-domattr-isid.xml:1.8
phpdoc/en/reference/dom/functions/dom-domattr-isid.xml:1.9
--- phpdoc/en/reference/dom/functions/dom-domattr-isid.xml:1.8 Mon Dec 20
19:36:56 2004
+++ phpdoc/en/reference/dom/functions/dom-domattr-isid.xml Mon Dec 27
11:53:36 2004
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<refentry id='function.dom-domattr-isid'>
<refnamediv>
- <refname>DOMAttr->isId</refname>
+ <refname>DOMAttr->isId()</refname>
<refpurpose>
Checks if attribute is a defined ID
</refpurpose>
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-import-simplexml.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/dom/functions/dom-import-simplexml.xml
diff -u phpdoc/en/reference/dom/functions/dom-import-simplexml.xml:1.6
phpdoc/en/reference/dom/functions/dom-import-simplexml.xml:1.7
--- phpdoc/en/reference/dom/functions/dom-import-simplexml.xml:1.6 Mon Dec
20 19:46:28 2004
+++ phpdoc/en/reference/dom/functions/dom-import-simplexml.xml Mon Dec 27
11:53:36 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<refentry id='function.dom-import-simplexml'>
<refnamediv>
<refname>dom_import_simplexml</refname>
@@ -38,7 +38,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- The DOMElement node added or &false; if any errors occur.
+ The <classname>DOMElement</classname> node added or &false; if any errors
occur.
</para>
</refsect1>
<refsect1 role="examples">
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domnode-normalize.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domnode-normalize.xml
diff -u phpdoc/en/reference/dom/functions/dom-domnode-normalize.xml:1.5
phpdoc/en/reference/dom/functions/dom-domnode-normalize.xml:1.6
--- phpdoc/en/reference/dom/functions/dom-domnode-normalize.xml:1.5 Mon Dec
27 08:51:39 2004
+++ phpdoc/en/reference/dom/functions/dom-domnode-normalize.xml Mon Dec 27
11:53:36 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<refentry id="function.dom-domnode-normalize">
<refnamediv>
<refname>DOMNode->normalize()</refname>
@@ -12,7 +12,7 @@
<classsynopsis>
<ooclass><classname>DOMNode</classname></ooclass>
<methodsynopsis>
- <type>void</type>
+ <void/>
<methodname>normalize</methodname>
<void/>
</methodsynopsis>
@@ -21,6 +21,12 @@
Normalizes the node.
</para>
</refsect1>
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ &return.void;
+ </para>
+ </refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domimplementation-createdocument.xml?r1=1.7&r2=1.8&ty=u
Index:
phpdoc/en/reference/dom/functions/dom-domimplementation-createdocument.xml
diff -u
phpdoc/en/reference/dom/functions/dom-domimplementation-createdocument.xml:1.7
phpdoc/en/reference/dom/functions/dom-domimplementation-createdocument.xml:1.8
---
phpdoc/en/reference/dom/functions/dom-domimplementation-createdocument.xml:1.7
Mon Dec 27 11:32:34 2004
+++ phpdoc/en/reference/dom/functions/dom-domimplementation-createdocument.xml
Mon Dec 27 11:53:36 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<refentry id='function.dom-domimplementation-createdocument'>
<refnamediv>
<refname>DOMImplementation->createDocument()</refname>
@@ -61,7 +61,7 @@
A new <classname>DOMDocument</classname> object. If
<parameter>namespaceURI</parameter>, <parameter>qualifiedName</parameter>,
and <parameter>doctype</parameter> are null, the returned
- <classname>DOMDocument</classnale> is empty with no document element
+ <classname>DOMDocument</classname> is empty with no document element
</para>
</refsect1>
<refsect1 role="exceptions">
http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domnodelist-item.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/dom/functions/dom-domnodelist-item.xml
diff -u phpdoc/en/reference/dom/functions/dom-domnodelist-item.xml:1.6
phpdoc/en/reference/dom/functions/dom-domnodelist-item.xml:1.7
--- phpdoc/en/reference/dom/functions/dom-domnodelist-item.xml:1.6 Mon Dec
20 14:58:25 2004
+++ phpdoc/en/reference/dom/functions/dom-domnodelist-item.xml Mon Dec 27
11:53:36 2004
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<refentry id='function.dom-domnodelist-item'>
<refnamediv>
- <refname>DOMNodelist->item</refname>
+ <refname>DOMNodelist->item()</refname>
<refpurpose>
Retrieves a node specified by index
</refpurpose>