cvs: phpdoc /en/reference/domxml/functions DomNode-add-namespace.xml DomNode-append-child.xml DomNode-append-sibling.xml DomNode-attributes.xml
DomNode-child-nodes.xml DomNode-clone-node.xml DomNode-dump-node.xml DomNode-first-child.xml DomNode-get-content.xml DomNode-has-attributes.xml
DomNode-has-child-nodes.xml DomNode-insert-before.xml DomNode-is-blank-node.xml DomNode-last-child.xml DomNode-next-sibling.xml DomNode-node-name.xml
DomNode-node-type.xml DomNode-node-value.xml DomNode-owner-document.xml DomNode-parent-node.xml DomNode-prefix.xml DomNode-previous-sibling.xml
DomNode-remove-child.xml DomNode-replace-child.xml DomNode-replace-node.xml DomNode-set-content.xml DomNode-set-name.xml DomNode-set-namespace.xml
DomNode-unlink-node.xml
| From: | Mehdi Achour | Date: | Sun, 12 Jun 2005 04:42:10 +0000 |
| Subject: | cvs: phpdoc /en/reference/domxml/functions DomNode-add-namespace.xml DomNode-append-child.xml DomNode-append-sibling.xml DomNode-attributes.xml DomNode-child-nodes.xml DomNode-clone-node.xml DomNode-dump-node.xml DomNode-first-child.xml DomNode-get-content.xml DomNode-has-attributes.xml DomNode-has-child-nodes.xml DomNode-insert-before.xml DomNode-is-blank-node.xml DomNode-last-child.xml DomNode-next-sibling.xml DomNode-node-name.xml DomNode-node-type.xml DomNode-node-value.xml DomNode-owner-document.xml DomNode-parent-node.xml DomNode-prefix.xml DomNode-previous-sibling.xml DomNode-remove-child.xml DomNode-replace-child.xml DomNode-replace-node.xml DomNode-set-content.xml DomNode-set-name.xml DomNode-set-namespace.xml DomNode-unlink-node.xml |
||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969368545@lists.php.net to get a copy of this message | ||
didou Sun Jun 12 00:42:10 2005 EDT
Modified files:
/phpdoc/en/reference/domxml/functions DomNode-add-namespace.xml
DomNode-append-child.xml
DomNode-append-sibling.xml
DomNode-attributes.xml
DomNode-child-nodes.xml
DomNode-clone-node.xml
DomNode-dump-node.xml
DomNode-first-child.xml
DomNode-get-content.xml
DomNode-has-attributes.xml
DomNode-has-child-nodes.xml
DomNode-insert-before.xml
DomNode-is-blank-node.xml
DomNode-last-child.xml
DomNode-next-sibling.xml
DomNode-node-name.xml
DomNode-node-type.xml
DomNode-node-value.xml
DomNode-owner-document.xml
DomNode-parent-node.xml
DomNode-prefix.xml
DomNode-previous-sibling.xml
DomNode-remove-child.xml
DomNode-replace-child.xml
DomNode-replace-node.xml
DomNode-set-content.xml
DomNode-set-name.xml
DomNode-set-namespace.xml
DomNode-unlink-node.xml
Log:
WS, prepare for new style
http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-add-namespace.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-add-namespace.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-add-namespace.xml:1.6 phpdoc/en/reference/domxml/functions/DomNode-add-namespace.xml:1.7 --- phpdoc/en/reference/domxml/functions/DomNode-add-namespace.xml:1.6 Mon Nov 1 11:22:48 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-add-namespace.xml Sun Jun 12 00:42:09 2005 @@ -1,28 +1,27 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-add-namespace'> - <refnamediv> - <refname>DomNode->add_namespace</refname> - <refpurpose> - Adds a namespace declaration to a node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>DomNode->add_namespace</methodname> - <methodparam><type>string</type><parameter>uri</parameter></methodparam> - <methodparam><type>string</type><parameter>prefix</parameter></methodparam> - </methodsynopsis> - <para> - </para> - <para> - See also <function>domdocument_create_element_ns</function>, and - <function>domnode_set_namespace</function> - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.7 $ --> +<refentry id='function.domnode-add-namespace'> + <refnamediv> + <refname>DomNode->add_namespace</refname> + <refpurpose> + Adds a namespace declaration to a node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>DomNode->add_namespace</methodname> + <methodparam><type>string</type><parameter>uri</parameter></methodparam> + <methodparam><type>string</type><parameter>prefix</parameter></methodparam> + </methodsynopsis> + <para> + </para> + <para> + See also <function>domdocument_create_element_ns</function>, and + <function>domnode_set_namespace</function> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-append-child.xml?r1=1.12&r2=1.13&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-append-child.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-append-child.xml:1.12 phpdoc/en/reference/domxml/functions/DomNode-append-child.xml:1.13 --- phpdoc/en/reference/domxml/functions/DomNode-append-child.xml:1.12 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-append-child.xml Sun Jun 12 00:42:09 2005 @@ -1,53 +1,52 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.40 --> - <refentry id='function.domnode-append-child'> - <refnamediv> - <refname>DomNode->append_child</refname> - <refpurpose> - Adds new child at the end of the children - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domelement</type><methodname>DomNode->append_child</methodname> - <methodparam><type>domelement</type><parameter>newnode</parameter></methodparam> - </methodsynopsis> - <para> - This functions appends a child to an existing list of children or creates - a new list of children. The child can be created with e.g. - <function>domdocument_create_element</function>, - <function>domdocument_create_text</function> etc. or simply by using any - other node. - </para> - <para> - (PHP < 4.3) Before a new child is appended it is first duplicated. Therefore the new - child is a completely new copy which can be modified without changing the - node which was passed to this function. If the node passed has children - itself, they will be duplicated as well, which makes it quite easy to - duplicate large parts of an XML document. The return value is the - appended child. If you plan to do further modifications on the appended - child you must use the returned node. - </para> - <para> - (PHP 4.3.0/4.3.1) The new child <parameter>newnode</parameter> is first - unlinked from its existing context, if it's already a child of DomNode. - Therefore the node is moved and not copies anymore. - </para> - <para> - (PHP >= 4.3.2) The new child <parameter>newnode</parameter> is first - unlinked from its existing context, if it's already in the tree. Therefore - the node is moved and not copied. This is the behaviour according to the - W3C specifications. If you want to duplicate large parts of an XML document, - use DomNode->clone_node() before appending. - </para> - <para> - The following example will add a new element node to a fresh document - and sets the attribute "align" to "left". - <example> - <title>Adding a child</title> - <programlisting role="php"> +<!-- $Revision: 1.13 $ --> +<refentry id='function.domnode-append-child'> + <refnamediv> + <refname>DomNode->append_child</refname> + <refpurpose> + Adds new child at the end of the children + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->append_child</methodname> + <methodparam><type>domelement</type><parameter>newnode</parameter></methodparam> + </methodsynopsis> + <para> + This functions appends a child to an existing list of children or creates + a new list of children. The child can be created with e.g. + <function>domdocument_create_element</function>, + <function>domdocument_create_text</function> etc. or simply by using any + other node. + </para> + <para> + (PHP < 4.3) Before a new child is appended it is first duplicated. Therefore the new + child is a completely new copy which can be modified without changing the + node which was passed to this function. If the node passed has children + itself, they will be duplicated as well, which makes it quite easy to + duplicate large parts of an XML document. The return value is the + appended child. If you plan to do further modifications on the appended + child you must use the returned node. + </para> + <para> + (PHP 4.3.0/4.3.1) The new child <parameter>newnode</parameter> is first + unlinked from its existing context, if it's already a child of DomNode. + Therefore the node is moved and not copies anymore. + </para> + <para> + (PHP >= 4.3.2) The new child <parameter>newnode</parameter> is first + unlinked from its existing context, if it's already in the tree. Therefore + the node is moved and not copied. This is the behaviour according to the + W3C specifications. If you want to duplicate large parts of an XML document, + use DomNode->clone_node() before appending. + </para> + <para> + The following example will add a new element node to a fresh document + and sets the attribute "align" to "left". + <example> + <title>Adding a child</title> + <programlisting role="php"> <![CDATA[ <?php $doc = domxml_new_doc("1.0"); @@ -56,12 +55,12 @@ $newnode->set_attribute("align", "left"); ?> ]]> - </programlisting> - </example> - The above example could also be written as the following: - <example> - <title>Adding a child</title> - <programlisting role="php"> + </programlisting> + </example> + The above example could also be written as the following: + <example> + <title>Adding a child</title> + <programlisting role="php"> <![CDATA[ <?php $doc = domxml_new_doc("1.0"); @@ -70,15 +69,15 @@ $newnode = $doc->append_child($node); ?> ]]> - </programlisting> - </example> - A more complex example is the one below. It first searches for a certain - element, duplicates it including its children and adds it as a sibling. - Finally a new attribute is added to one of the children of the new - sibling and the whole document is dumped. - <example> - <title>Adding a child</title> - <programlisting role="php"> + </programlisting> + </example> + A more complex example is the one below. It first searches for a certain + element, duplicates it including its children and adds it as a sibling. + Finally a new attribute is added to one of the children of the new + sibling and the whole document is dumped. + <example> + <title>Adding a child</title> + <programlisting role="php"> <![CDATA[ <?php include("example.inc"); @@ -103,18 +102,18 @@ echo "</pre>"; ?> ]]> - </programlisting> - </example> - The above example could also be done with - <function>domnode_insert_before</function> instead of - <function>domnode_append_child</function>. - </para> - <para> - See also <function>domnode_insert_before</function>, and - <function>domnode_clone_node</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + The above example could also be done with + <function>domnode_insert_before</function> instead of + <function>domnode_append_child</function>. + </para> + <para> + See also <function>domnode_insert_before</function>, and + <function>domnode_clone_node</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-append-sibling.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-append-sibling.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-append-sibling.xml:1.7 phpdoc/en/reference/domxml/functions/DomNode-append-sibling.xml:1.8 --- phpdoc/en/reference/domxml/functions/DomNode-append-sibling.xml:1.7 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-append-sibling.xml Sun Jun 12 00:42:09 2005 @@ -1,43 +1,43 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> - <refentry id='function.domnode-append-sibling'> - <refnamediv> - <refname>DomNode->append_sibling</refname> - <refpurpose> - Adds new sibling to a node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domelement</type><methodname>DomNode->append_sibling</methodname> - <methodparam><type>domelement</type><parameter>newnode</parameter></methodparam> - </methodsynopsis> - <para> - This functions appends a sibling to an existing node. - The child can be created with e.g. - <function>domdocument_create_element</function>, - <function>domdocument_create_text</function> etc. or simply by using any - other node. - </para> - <para> - Before a new sibling is added it is first duplicated. Therefore the new - child is a completely new copy which can be modified without changing the - node which was passed to this function. If the node passed has children - itself, they will be duplicated as well, which makes it quite easy to - duplicate large parts of an XML document. The return value is the - added sibling. If you plan to do further modifications on the added - sibling you must use the returned node. - </para> - <para> - This function has been added to provide the behaviour of - <function>domnode_append_child</function> as it works till PHP 4.2. - </para> - <para> - See also <function>domnode_append_before</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.8 $ --> +<refentry id='function.domnode-append-sibling'> + <refnamediv> + <refname>DomNode->append_sibling</refname> + <refpurpose> + Adds new sibling to a node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->append_sibling</methodname> + <methodparam><type>domelement</type><parameter>newnode</parameter></methodparam> + </methodsynopsis> + <para> + This functions appends a sibling to an existing node. + The child can be created with e.g. + <function>domdocument_create_element</function>, + <function>domdocument_create_text</function> etc. or simply by using any + other node. + </para> + <para> + Before a new sibling is added it is first duplicated. Therefore the new + child is a completely new copy which can be modified without changing the + node which was passed to this function. If the node passed has children + itself, they will be duplicated as well, which makes it quite easy to + duplicate large parts of an XML document. The return value is the + added sibling. If you plan to do further modifications on the added + sibling you must use the returned node. + </para> + <para> + This function has been added to provide the behaviour of + <function>domnode_append_child</function> as it works till PHP 4.2. + </para> + <para> + See also <function>domnode_append_before</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-attributes.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-attributes.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-attributes.xml:1.5 phpdoc/en/reference/domxml/functions/DomNode-attributes.xml:1.6 --- phpdoc/en/reference/domxml/functions/DomNode-attributes.xml:1.5 Mon Nov 1 11:22:48 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-attributes.xml Sun Jun 12 00:42:09 2005 @@ -1,28 +1,27 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-attributes'> - <refnamediv> - <refname>DomNode->attributes</refname> - <refpurpose> - Returns list of attributes - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>array</type><methodname>DomNode->attributes</methodname> - <void/> - </methodsynopsis> - <para> - This function only returns an array of attributes if the node is of - type XML_ELEMENT_NODE. - </para> - <para> - (PHP >= 4.3 only) If no attributes are found, NULL is returned. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.6 $ --> +<refentry id='function.domnode-attributes'> + <refnamediv> + <refname>DomNode->attributes</refname> + <refpurpose> + Returns list of attributes + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>array</type><methodname>DomNode->attributes</methodname> + <void/> + </methodsynopsis> + <para> + This function only returns an array of attributes if the node is of + type XML_ELEMENT_NODE. + </para> + <para> + (PHP >= 4.3 only) If no attributes are found, NULL is returned. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-child-nodes.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-child-nodes.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-child-nodes.xml:1.7 phpdoc/en/reference/domxml/functions/DomNode-child-nodes.xml:1.8 --- phpdoc/en/reference/domxml/functions/DomNode-child-nodes.xml:1.7 Mon Nov 1 11:22:48 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-child-nodes.xml Sun Jun 12 00:42:09 2005 @@ -1,28 +1,27 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-child-nodes'> - <refnamediv> - <refname>DomNode->child_nodes</refname> - <refpurpose> - Returns children of node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>array</type><methodname>DomNode->child_nodes</methodname> - <void/> - </methodsynopsis> - <para> - Returns all children of the node. - </para> - <para> - See also <function>domnode_next_sibling</function>, and - <function>domnode_previous_sibling</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.8 $ --> +<refentry id='function.domnode-child-nodes'> + <refnamediv> + <refname>DomNode->child_nodes</refname> + <refpurpose> + Returns children of node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>array</type><methodname>DomNode->child_nodes</methodname> + <void/> + </methodsynopsis> + <para> + Returns all children of the node. + </para> + <para> + See also <function>domnode_next_sibling</function>, and + <function>domnode_previous_sibling</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-clone-node.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-clone-node.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-clone-node.xml:1.5 phpdoc/en/reference/domxml/functions/DomNode-clone-node.xml:1.6 --- phpdoc/en/reference/domxml/functions/DomNode-clone-node.xml:1.5 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-clone-node.xml Sun Jun 12 00:42:09 2005 @@ -1,24 +1,23 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.39 --> - <refentry id='function.domnode-clone-node'> - <refnamediv> - <refname>DomNode->clone_node</refname> - <refpurpose> - Clones a node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domelement</type><methodname>DomNode->clone_node</methodname> - <void/> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.6 $ --> +<refentry id='function.domnode-clone-node'> + <refnamediv> + <refname>DomNode->clone_node</refname> + <refpurpose> + Clones a node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->clone_node</methodname> + <void/> + </methodsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-dump-node.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-dump-node.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-dump-node.xml:1.5 phpdoc/en/reference/domxml/functions/DomNode-dump-node.xml:1.6 --- phpdoc/en/reference/domxml/functions/DomNode-dump-node.xml:1.5 Mon Nov 1 11:22:48 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-dump-node.xml Sun Jun 12 00:42:09 2005 @@ -1,27 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.39 --> - <refentry id='function.domnode-dump-node'> - <refnamediv> - <refname>DomNode->dump_node</refname> - <refpurpose> - Dumps a single node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>DomNode->dump_node</methodname> - <void/> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - <para> - See also <function>domdocument_dump_mem</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.6 $ --> +<refentry id='function.domnode-dump-node'> + <refnamediv> + <refname>DomNode->dump_node</refname> + <refpurpose> + Dumps a single node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>DomNode->dump_node</methodname> + <void/> + </methodsynopsis> + <para> + &warn.undocumented.func; + </para> + <para> + See also <function>domdocument_dump_mem</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-first-child.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-first-child.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-first-child.xml:1.9 phpdoc/en/reference/domxml/functions/DomNode-first-child.xml:1.10 --- phpdoc/en/reference/domxml/functions/DomNode-first-child.xml:1.9 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-first-child.xml Sun Jun 12 00:42:09 2005 @@ -1,32 +1,31 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-first-child'> - <refnamediv> - <refname>DomNode->first_child</refname> - <refpurpose> - Returns first child of node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domelement</type><methodname>DomNode->first_child</methodname> - <void/> - </methodsynopsis> - <para> - Returns the first child of the node. - </para> - <para> - (PHP >= 4.3 only) If no first child is found, NULL is returned. - </para> - <para> - See also <function>domnode_last_child</function>, and - <function>domnode_next_sibling</function>, - <function>domnode_previous_sibling</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.10 $ --> +<refentry id='function.domnode-first-child'> + <refnamediv> + <refname>DomNode->first_child</refname> + <refpurpose> + Returns first child of node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->first_child</methodname> + <void/> + </methodsynopsis> + <para> + Returns the first child of the node. + </para> + <para> + (PHP >= 4.3 only) If no first child is found, NULL is returned. + </para> + <para> + See also <function>domnode_last_child</function>, and + <function>domnode_next_sibling</function>, + <function>domnode_previous_sibling</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-get-content.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-get-content.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-get-content.xml:1.8 phpdoc/en/reference/domxml/functions/DomNode-get-content.xml:1.9 --- phpdoc/en/reference/domxml/functions/DomNode-get-content.xml:1.8 Mon Nov 1 11:25:02 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-get-content.xml Sun Jun 12 00:42:09 2005 @@ -1,26 +1,25 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.39 --> - <refentry id='function.domnode-get-content'> - <refnamediv> - <refname>DomNode->get_content</refname> - <refpurpose> - Gets content of node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>DomNode->get_content</methodname> - <void/> - </methodsynopsis> - <para> - This function returns the content of the actual node. - </para> - <para> - <example> - <title>Getting a content</title> - <programlisting role="php"> +<!-- $Revision: 1.9 $ --> +<refentry id='function.domnode-get-content'> + <refnamediv> + <refname>DomNode->get_content</refname> + <refpurpose> + Gets content of node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>DomNode->get_content</methodname> + <void/> + </methodsynopsis> + <para> + This function returns the content of the actual node. + </para> + <para> + <example> + <title>Getting a content</title> + <programlisting role="php"> <![CDATA[ <?php if (!$dom = domxml_open_mem($xmlstr)) { @@ -39,11 +38,11 @@ ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-has-attributes.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-has-attributes.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-has-attributes.xml:1.6 phpdoc/en/reference/domxml/functions/DomNode-has-attributes.xml:1.7 --- phpdoc/en/reference/domxml/functions/DomNode-has-attributes.xml:1.6 Mon Nov 1 11:25:02 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-has-attributes.xml Sun Jun 12 00:42:09 2005 @@ -1,27 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-has-attributes'> - <refnamediv> - <refname>DomNode->has_attributes</refname> - <refpurpose> - Checks if node has attributes - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>DomNode->has_attributes</methodname> - <void/> - </methodsynopsis> - <para> - This function checks if the node has attributes. - </para> - <para> - See also <function>domnode_has_child_nodes</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.7 $ --> +<refentry id='function.domnode-has-attributes'> + <refnamediv> + <refname>DomNode->has_attributes</refname> + <refpurpose> + Checks if node has attributes + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>DomNode->has_attributes</methodname> + <void/> + </methodsynopsis> + <para> + This function checks if the node has attributes. + </para> + <para> + See also <function>domnode_has_child_nodes</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-has-child-nodes.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-has-child-nodes.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-has-child-nodes.xml:1.5 phpdoc/en/reference/domxml/functions/DomNode-has-child-nodes.xml:1.6 --- phpdoc/en/reference/domxml/functions/DomNode-has-child-nodes.xml:1.5 Mon Nov 1 11:25:02 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-has-child-nodes.xml Sun Jun 12 00:42:09 2005 @@ -1,27 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-has-child-nodes'> - <refnamediv> - <refname>DomNode->has_child_nodes</refname> - <refpurpose> - Checks if node has children - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>DomNode->has_child_nodes</methodname> - <void/> - </methodsynopsis> - <para> - This function checks if the node has children. - </para> - <para> - See also <function>domnode_child_nodes</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.6 $ --> +<refentry id='function.domnode-has-child-nodes'> + <refnamediv> + <refname>DomNode->has_child_nodes</refname> + <refpurpose> + Checks if node has children + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>DomNode->has_child_nodes</methodname> + <void/> + </methodsynopsis> + <para> + This function checks if the node has children. + </para> + <para> + See also <function>domnode_child_nodes</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-insert-before.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-insert-before.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-insert-before.xml:1.10 phpdoc/en/reference/domxml/functions/DomNode-insert-before.xml:1.11 --- phpdoc/en/reference/domxml/functions/DomNode-insert-before.xml:1.10 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-insert-before.xml Sun Jun 12 00:42:09 2005 @@ -1,42 +1,41 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-insert-before'> - <refnamediv> - <refname>DomNode->insert_before</refname> - <refpurpose> - Inserts new node as child - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domelement</type><methodname>DomNode->insert_before</methodname> - <methodparam><type>domelement</type><parameter>newnode</parameter></methodparam> - <methodparam><type>domelement</type><parameter>refnode</parameter></methodparam> - </methodsynopsis> - <para> - This function inserts the new node <parameter>newnode</parameter> right - before the node <parameter>refnode</parameter>. The return value is the - inserted node. If you plan to do further modifications on the appended - child you must use the returned node. - </para> - <para> - (PHP >= 4.3 only) If <parameter>newnode</parameter> already is part of a - document, it will be first unlinked from its existing context. If - <parameter>refnode</parameter> is NULL, then <parameter>newnode</parameter> - will be inserted at the end of the list of children. - </para> - <para> - <function>domnode_insert_before</function> is very similar to - <function>domnode_append_child</function> as the following example shows - which does the same as the example at - <function>domnode_append_child</function>. - </para> - <para> - <example> - <title>Adding a child</title> - <programlisting role="php"> +<!-- $Revision: 1.11 $ --> +<refentry id='function.domnode-insert-before'> + <refnamediv> + <refname>DomNode->insert_before</refname> + <refpurpose> + Inserts new node as child + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->insert_before</methodname> + <methodparam><type>domelement</type><parameter>newnode</parameter></methodparam> + <methodparam><type>domelement</type><parameter>refnode</parameter></methodparam> + </methodsynopsis> + <para> + This function inserts the new node <parameter>newnode</parameter> right + before the node <parameter>refnode</parameter>. The return value is the + inserted node. If you plan to do further modifications on the appended + child you must use the returned node. + </para> + <para> + (PHP >= 4.3 only) If <parameter>newnode</parameter> already is part of a + document, it will be first unlinked from its existing context. If + <parameter>refnode</parameter> is NULL, then <parameter>newnode</parameter> + will be inserted at the end of the list of children. + </para> + <para> + <function>domnode_insert_before</function> is very similar to + <function>domnode_append_child</function> as the following example shows + which does the same as the example at + <function>domnode_append_child</function>. + </para> + <para> + <example> + <title>Adding a child</title> + <programlisting role="php"> <![CDATA[ <?php include("example.inc"); @@ -60,14 +59,14 @@ echo "</pre>"; ?> ]]> - </programlisting> - </example> - </para> - <para> - See also <function>domnode_append_child</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + See also <function>domnode_append_child</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-is-blank-node.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-is-blank-node.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-is-blank-node.xml:1.4 phpdoc/en/reference/domxml/functions/DomNode-is-blank-node.xml:1.5 --- phpdoc/en/reference/domxml/functions/DomNode-is-blank-node.xml:1.4 Mon Nov 1 11:25:03 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-is-blank-node.xml Sun Jun 12 00:42:09 2005 @@ -1,24 +1,23 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.39 --> - <refentry id='function.domnode-is-blank-node'> - <refnamediv> - <refname>DomNode->is_blank_node</refname> - <refpurpose> - Checks if node is blank - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>DomNode->is_blank_node</methodname> - <void/> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.5 $ --> +<refentry id='function.domnode-is-blank-node'> + <refnamediv> + <refname>DomNode->is_blank_node</refname> + <refpurpose> + Checks if node is blank + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>DomNode->is_blank_node</methodname> + <void/> + </methodsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-last-child.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-last-child.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-last-child.xml:1.9 phpdoc/en/reference/domxml/functions/DomNode-last-child.xml:1.10 --- phpdoc/en/reference/domxml/functions/DomNode-last-child.xml:1.9 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-last-child.xml Sun Jun 12 00:42:09 2005 @@ -1,32 +1,31 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-last-child'> - <refnamediv> - <refname>DomNode->last_child</refname> - <refpurpose> - Returns last child of node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domelement</type><methodname>DomNode->last_child</methodname> - <void/> - </methodsynopsis> - <para> - Returns the last child of the node. - </para> - <para> - (PHP >= 4.3 only) If no last child is found, NULL is returned. - </para> - <para> - See also <function>domnode_first_child</function>, and - <function>domnode_next_sibling</function>, - <function>domnode_previous_sibling</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.10 $ --> +<refentry id='function.domnode-last-child'> + <refnamediv> + <refname>DomNode->last_child</refname> + <refpurpose> + Returns last child of node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->last_child</methodname> + <void/> + </methodsynopsis> + <para> + Returns the last child of the node. + </para> + <para> + (PHP >= 4.3 only) If no last child is found, NULL is returned. + </para> + <para> + See also <function>domnode_first_child</function>, and + <function>domnode_next_sibling</function>, + <function>domnode_previous_sibling</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-next-sibling.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-next-sibling.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-next-sibling.xml:1.9 phpdoc/en/reference/domxml/functions/DomNode-next-sibling.xml:1.10 --- phpdoc/en/reference/domxml/functions/DomNode-next-sibling.xml:1.9 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-next-sibling.xml Sun Jun 12 00:42:09 2005 @@ -1,29 +1,28 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-next-sibling'> - <refnamediv> - <refname>DomNode->next_sibling</refname> - <refpurpose> - Returns the next sibling of node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domelement</type><methodname>DomNode->next_sibling</methodname> - <void/> - </methodsynopsis> - <para> - This function returns the next sibling of the current node. If there is - no next sibling it returns &false; (< 4.3) or null (>= 4.3). You can - use this function to iterate over all children of a node as shown in the - example. - </para> - <para> - <example> - <title>Iterate over children</title> - <programlisting role="php"> +<!-- $Revision: 1.10 $ --> +<refentry id='function.domnode-next-sibling'> + <refnamediv> + <refname>DomNode->next_sibling</refname> + <refpurpose> + Returns the next sibling of node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->next_sibling</methodname> + <void/> + </methodsynopsis> + <para> + This function returns the next sibling of the current node. If there is + no next sibling it returns &false; (< 4.3) or null (>= 4.3). You can + use this function to iterate over all children of a node as shown in the + example. + </para> + <para> + <example> + <title>Iterate over children</title> + <programlisting role="php"> <![CDATA[ <?php include("example.inc"); @@ -43,14 +42,14 @@ } ?> ]]> - </programlisting> - </example> - </para> - <para> - See also <function>domnode_previous_sibling</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + See also <function>domnode_previous_sibling</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-node-name.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-node-name.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-node-name.xml:1.4 phpdoc/en/reference/domxml/functions/DomNode-node-name.xml:1.5 --- phpdoc/en/reference/domxml/functions/DomNode-node-name.xml:1.4 Mon Nov 1 11:25:03 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-node-name.xml Sun Jun 12 00:42:09 2005 @@ -1,86 +1,85 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-node-name'> - <refnamediv> - <refname>DomNode->node_name</refname> - <refpurpose> - Returns name of node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>DomNode->node_name</methodname> - <void/> - </methodsynopsis> - <para> - Returns name of the node. The name has different meanings - for the different types of nodes as illustrated in the following table. - <table> - <title>Meaning of value</title> - <tgroup cols="2"> - <thead> - <row> - <entry>Type</entry> - <entry>Meaning</entry> - </row> - </thead> - <tbody> - <row> - <entry>DomAttribute</entry> - <entry>value of attribute</entry> - </row> - <row> - <entry>DomAttribute</entry> - <entry></entry> - </row> - <row> - <entry>DomCDataSection</entry> - <entry>#cdata-section</entry> - </row> - <row> - <entry>DomComment</entry> - <entry>#comment</entry> - </row> - <row> - <entry>DomDocument</entry> - <entry>#document</entry> - </row> - <row> - <entry>DomDocumentType</entry> - <entry>document type name</entry> - </row> - <row> - <entry>DomElement</entry> - <entry>tag name</entry> - </row> - <row> - <entry>DomEntity</entry> - <entry>name of entity</entry> - </row> - <row> - <entry>DomEntityReference</entry> - <entry>name of entity reference</entry> - </row> - <row> - <entry>DomNotation</entry> - <entry>notation name</entry> - </row> - <row> - <entry>DomProcessingInstruction</entry> - <entry>target</entry> - </row> - <row> - <entry>DomText</entry> - <entry>#text</entry> - </row> - </tbody> - </tgroup> - </table> - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.5 $ --> +<refentry id='function.domnode-node-name'> + <refnamediv> + <refname>DomNode->node_name</refname> + <refpurpose> + Returns name of node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>DomNode->node_name</methodname> + <void/> + </methodsynopsis> + <para> + Returns name of the node. The name has different meanings + for the different types of nodes as illustrated in the following table. + <table> + <title>Meaning of value</title> + <tgroup cols="2"> + <thead> + <row> + <entry>Type</entry> + <entry>Meaning</entry> + </row> + </thead> + <tbody> + <row> + <entry>DomAttribute</entry> + <entry>value of attribute</entry> + </row> + <row> + <entry>DomAttribute</entry> + <entry></entry> + </row> + <row> + <entry>DomCDataSection</entry> + <entry>#cdata-section</entry> + </row> + <row> + <entry>DomComment</entry> + <entry>#comment</entry> + </row> + <row> + <entry>DomDocument</entry> + <entry>#document</entry> + </row> + <row> + <entry>DomDocumentType</entry> + <entry>document type name</entry> + </row> + <row> + <entry>DomElement</entry> + <entry>tag name</entry> + </row> + <row> + <entry>DomEntity</entry> + <entry>name of entity</entry> + </row> + <row> + <entry>DomEntityReference</entry> + <entry>name of entity reference</entry> + </row> + <row> + <entry>DomNotation</entry> + <entry>notation name</entry> + </row> + <row> + <entry>DomProcessingInstruction</entry> + <entry>target</entry> + </row> + <row> + <entry>DomText</entry> + <entry>#text</entry> + </row> + </tbody> + </tgroup> + </table> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-node-type.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-node-type.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-node-type.xml:1.5 phpdoc/en/reference/domxml/functions/DomNode-node-type.xml:1.6 --- phpdoc/en/reference/domxml/functions/DomNode-node-type.xml:1.5 Mon Nov 1 11:25:03 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-node-type.xml Sun Jun 12 00:42:09 2005 @@ -1,26 +1,25 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-node-type'> - <refnamediv> - <refname>DomNode->node_type</refname> - <refpurpose> - Returns type of node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>int</type><methodname>DomNode->node_type</methodname> - <void/> - </methodsynopsis> - <para> - Returns the type of the node. All possible types are listed in - the table in the introduction. - </para> - <example> - <title></title> - <programlisting role="php"> +<!-- $Revision: 1.6 $ --> +<refentry id='function.domnode-node-type'> + <refnamediv> + <refname>DomNode->node_type</refname> + <refpurpose> + Returns type of node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>int</type><methodname>DomNode->node_type</methodname> + <void/> + </methodsynopsis> + <para> + Returns the type of the node. All possible types are listed in + the table in the introduction. + </para> + <example> + <title></title> + <programlisting role="php"> <![CDATA[ <?php @@ -39,17 +38,17 @@ ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ title para ]]> - </screen> - </example> - </refsect1> - </refentry> + </screen> + </example> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-node-value.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-node-value.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-node-value.xml:1.4 phpdoc/en/reference/domxml/functions/DomNode-node-value.xml:1.5 --- phpdoc/en/reference/domxml/functions/DomNode-node-value.xml:1.4 Mon Nov 1 11:25:03 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-node-value.xml Sun Jun 12 00:42:09 2005 @@ -1,86 +1,85 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-node-value'> - <refnamediv> - <refname>DomNode->node_value</refname> - <refpurpose> - Returns value of a node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>DomNode->node_value</methodname> - <void/> - </methodsynopsis> - <para> - Returns value of the node. The value has different meanings - for the different types of nodes as illustrated in the following table. - <table> - <title>Meaning of value</title> - <tgroup cols="2"> - <thead> - <row> - <entry>Type</entry> - <entry>Meaning</entry> - </row> - </thead> - <tbody> - <row> - <entry>DomAttribute</entry> - <entry>value of attribute</entry> - </row> - <row> - <entry>DomAttribute</entry> - <entry></entry> - </row> - <row> - <entry>DomCDataSection</entry> - <entry>content</entry> - </row> - <row> - <entry>DomComment</entry> - <entry>content of comment</entry> - </row> - <row> - <entry>DomDocument</entry> - <entry>null</entry> - </row> - <row> - <entry>DomDocumentType</entry> - <entry>null</entry> - </row> - <row> - <entry>DomElement</entry> - <entry>null</entry> - </row> - <row> - <entry>DomEntity</entry> - <entry>null</entry> - </row> - <row> - <entry>DomEntityReference</entry> - <entry>null</entry> - </row> - <row> - <entry>DomNotation</entry> - <entry>null</entry> - </row> - <row> - <entry>DomProcessingInstruction</entry> - <entry>entire content without target</entry> - </row> - <row> - <entry>DomText</entry> - <entry>content of text</entry> - </row> - </tbody> - </tgroup> - </table> - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.5 $ --> +<refentry id='function.domnode-node-value'> + <refnamediv> + <refname>DomNode->node_value</refname> + <refpurpose> + Returns value of a node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>DomNode->node_value</methodname> + <void/> + </methodsynopsis> + <para> + Returns value of the node. The value has different meanings + for the different types of nodes as illustrated in the following table. + <table> + <title>Meaning of value</title> + <tgroup cols="2"> + <thead> + <row> + <entry>Type</entry> + <entry>Meaning</entry> + </row> + </thead> + <tbody> + <row> + <entry>DomAttribute</entry> + <entry>value of attribute</entry> + </row> + <row> + <entry>DomAttribute</entry> + <entry></entry> + </row> + <row> + <entry>DomCDataSection</entry> + <entry>content</entry> + </row> + <row> + <entry>DomComment</entry> + <entry>content of comment</entry> + </row> + <row> + <entry>DomDocument</entry> + <entry>null</entry> + </row> + <row> + <entry>DomDocumentType</entry> + <entry>null</entry> + </row> + <row> + <entry>DomElement</entry> + <entry>null</entry> + </row> + <row> + <entry>DomEntity</entry> + <entry>null</entry> + </row> + <row> + <entry>DomEntityReference</entry> + <entry>null</entry> + </row> + <row> + <entry>DomNotation</entry> + <entry>null</entry> + </row> + <row> + <entry>DomProcessingInstruction</entry> + <entry>entire content without target</entry> + </row> + <row> + <entry>DomText</entry> + <entry>content of text</entry> + </row> + </tbody> + </tgroup> + </table> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-owner-document.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-owner-document.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-owner-document.xml:1.6 phpdoc/en/reference/domxml/functions/DomNode-owner-document.xml:1.7 --- phpdoc/en/reference/domxml/functions/DomNode-owner-document.xml:1.6 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-owner-document.xml Sun Jun 12 00:42:09 2005 @@ -1,27 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-owner-document'> - <refnamediv> - <refname>DomNode->owner_document</refname> - <refpurpose> - Returns the document this node belongs to - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domdocument</type><methodname>DomNode->owner_document</methodname> - <void/> - </methodsynopsis> - <para> - This function returns the document the current node belongs to. - </para> - <para> - The following example will create two identical lists of children. - <example> - <title>Finding the document of a node</title> - <programlisting role="php"> +<!-- $Revision: 1.7 $ --> +<refentry id='function.domnode-owner-document'> + <refnamediv> + <refname>DomNode->owner_document</refname> + <refpurpose> + Returns the document this node belongs to + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domdocument</type><methodname>DomNode->owner_document</methodname> + <void/> + </methodsynopsis> + <para> + This function returns the document the current node belongs to. + </para> + <para> + The following example will create two identical lists of children. + <example> + <title>Finding the document of a node</title> + <programlisting role="php"> <![CDATA[ <?php $doc = domxml_new_doc("1.0"); @@ -35,14 +34,14 @@ print_r($children); ?> ]]> - </programlisting> - </example> - </para> - <para> - See also <function>domnode_insert_before</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + See also <function>domnode_insert_before</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-parent-node.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-parent-node.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-parent-node.xml:1.6 phpdoc/en/reference/domxml/functions/DomNode-parent-node.xml:1.7 --- phpdoc/en/reference/domxml/functions/DomNode-parent-node.xml:1.6 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-parent-node.xml Sun Jun 12 00:42:09 2005 @@ -1,30 +1,29 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-parent-node'> - <refnamediv> - <refname>DomNode->parent_node</refname> - <refpurpose> - Returns the parent of the node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domnode</type><methodname>DomNode->parent_node</methodname> - <void/> - </methodsynopsis> - <para> - This function returns the parent node. - </para> - <para> - (PHP >= 4.3 only) If no parent is found, NULL is returned. - </para> - <para> - The following example will show two identical lists of children. - <example> - <title>Finding the document of a node</title> - <programlisting role="php"> +<!-- $Revision: 1.7 $ --> +<refentry id='function.domnode-parent-node'> + <refnamediv> + <refname>DomNode->parent_node</refname> + <refpurpose> + Returns the parent of the node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domnode</type><methodname>DomNode->parent_node</methodname> + <void/> + </methodsynopsis> + <para> + This function returns the parent node. + </para> + <para> + (PHP >= 4.3 only) If no parent is found, NULL is returned. + </para> + <para> + The following example will show two identical lists of children. + <example> + <title>Finding the document of a node</title> + <programlisting role="php"> <![CDATA[ <?php $doc = domxml_new_doc("1.0"); @@ -38,11 +37,11 @@ print_r($children); ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-prefix.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-prefix.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-prefix.xml:1.4 phpdoc/en/reference/domxml/functions/DomNode-prefix.xml:1.5 --- phpdoc/en/reference/domxml/functions/DomNode-prefix.xml:1.4 Mon Nov 1 11:25:04 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-prefix.xml Sun Jun 12 00:42:09 2005 @@ -1,24 +1,23 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.39 --> - <refentry id='function.domnode-prefix'> - <refnamediv> - <refname>DomNode->prefix</refname> - <refpurpose> - Returns name space prefix of node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>DomNode->prefix</methodname> - <void/> - </methodsynopsis> - <para> - Returns the name space prefix of the node. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.5 $ --> +<refentry id='function.domnode-prefix'> + <refnamediv> + <refname>DomNode->prefix</refname> + <refpurpose> + Returns name space prefix of node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>DomNode->prefix</methodname> + <void/> + </methodsynopsis> + <para> + Returns the name space prefix of the node. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-previous-sibling.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-previous-sibling.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-previous-sibling.xml:1.8 phpdoc/en/reference/domxml/functions/DomNode-previous-sibling.xml:1.9 --- phpdoc/en/reference/domxml/functions/DomNode-previous-sibling.xml:1.8 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-previous-sibling.xml Sun Jun 12 00:42:09 2005 @@ -1,30 +1,29 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-previous-sibling'> - <refnamediv> - <refname>DomNode->previous_sibling</refname> - <refpurpose> - Returns the previous sibling of node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domelement</type><methodname>DomNode->previous_sibling</methodname> - <void/> - </methodsynopsis> - <para> - This function returns the previous sibling of the current node. If there - is no previous sibling it returns &false; (< 4.3) or &null; (>= 4.3). You - can use this function to iterate over all children of a node as shown in - the example. - </para> - <para> - See also <function>domnode_next_sibling</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.9 $ --> +<refentry id='function.domnode-previous-sibling'> + <refnamediv> + <refname>DomNode->previous_sibling</refname> + <refpurpose> + Returns the previous sibling of node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->previous_sibling</methodname> + <void/> + </methodsynopsis> + <para> + This function returns the previous sibling of the current node. If there + is no previous sibling it returns &false; (< 4.3) or &null; (>= 4.3). You + can use this function to iterate over all children of a node as shown in + the example. + </para> + <para> + See also <function>domnode_next_sibling</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-remove-child.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-remove-child.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-remove-child.xml:1.7 phpdoc/en/reference/domxml/functions/DomNode-remove-child.xml:1.8 --- phpdoc/en/reference/domxml/functions/DomNode-remove-child.xml:1.7 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-remove-child.xml Sun Jun 12 00:42:09 2005 @@ -1,28 +1,27 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-remove-child'> - <refnamediv> - <refname>DomNode->remove_child</refname> - <refpurpose> - Removes child from list of children - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domtext</type><methodname>DomNode->remove_child</methodname> - <methodparam><type>domtext</type><parameter>oldchild</parameter></methodparam> - </methodsynopsis> - <para> - This functions removes a child from a list of children. If child cannot - be removed or is not a child the function will return &false;. - If the child could be removed the functions returns the old child. - </para> - <para> - <example> - <title>Removing a child</title> - <programlisting role="php"> +<!-- $Revision: 1.8 $ --> +<refentry id='function.domnode-remove-child'> + <refnamediv> + <refname>DomNode->remove_child</refname> + <refpurpose> + Removes child from list of children + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domtext</type><methodname>DomNode->remove_child</methodname> + <methodparam><type>domtext</type><parameter>oldchild</parameter></methodparam> + </methodsynopsis> + <para> + This functions removes a child from a list of children. If child cannot + be removed or is not a child the function will return &false;. + If the child could be removed the functions returns the old child. + </para> + <para> + <example> + <title>Removing a child</title> + <programlisting role="php"> <![CDATA[ <?php include("example.inc"); @@ -43,14 +42,14 @@ echo "</PRE>"; ?> ]]> - </programlisting> - </example> - </para> - <para> - See also <function>domnode_append_child</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + See also <function>domnode_append_child</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-replace-child.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-replace-child.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-replace-child.xml:1.9 phpdoc/en/reference/domxml/functions/DomNode-replace-child.xml:1.10 --- phpdoc/en/reference/domxml/functions/DomNode-replace-child.xml:1.9 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-replace-child.xml Sun Jun 12 00:42:09 2005 @@ -1,39 +1,39 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> - <refentry id='function.domnode-replace-child'> - <refnamediv> - <refname>DomNode->replace_child</refname> - <refpurpose> - Replaces a child - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domelement</type><methodname>DomNode->replace_child</methodname> - <methodparam><type>domelement</type><parameter>oldnode</parameter></methodparam> - <methodparam><type>domelement</type><parameter>newnode</parameter></methodparam> - </methodsynopsis> - <para> - (PHP 4.2) This function replaces the child <parameter>oldnode</parameter> - with the passed new node. If the new node is already a child it - will not be added a second time. If the old node cannot be found - the function returns &false;. If the replacement succeeds the old node - is returned. - </para> - <para> - (PHP 4.3) This function replaces the child <parameter>oldnode</parameter> - with the passed <parameter>newnode</parameter>, even if the new node already - is a child of the DomNode. If <parameter>newnode</parameter> was already - inserted in the document it is first unlinked from its existing context. - If the old node cannot be found the function returns &false;. If the replacement - succeeds the old node is returned. (This behaviour is according to the W3C specs). - </para> - <para> - See also <function>domnode_append_child</function> - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.10 $ --> +<refentry id='function.domnode-replace-child'> + <refnamediv> + <refname>DomNode->replace_child</refname> + <refpurpose> + Replaces a child + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->replace_child</methodname> + <methodparam><type>domelement</type><parameter>oldnode</parameter></methodparam> + <methodparam><type>domelement</type><parameter>newnode</parameter></methodparam> + </methodsynopsis> + <para> + (PHP 4.2) This function replaces the child <parameter>oldnode</parameter> + with the passed new node. If the new node is already a child it + will not be added a second time. If the old node cannot be found + the function returns &false;. If the replacement succeeds the old node + is returned. + </para> + <para> + (PHP 4.3) This function replaces the child <parameter>oldnode</parameter> + with the passed <parameter>newnode</parameter>, even if the new node already + is a child of the DomNode. If <parameter>newnode</parameter> was already + inserted in the document it is first unlinked from its existing context. + If the old node cannot be found the function returns &false;. If the replacement + succeeds the old node is returned. (This behaviour is according to the W3C specs). + </para> + <para> + See also <function>domnode_append_child</function> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml?r1=1.12&r2=1.13&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml:1.12 phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml:1.13 --- phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml:1.12 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml Sun Jun 12 00:42:09 2005 @@ -1,41 +1,40 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.39 --> - <refentry id='function.domnode-replace-node'> - <refnamediv> - <refname>DomNode->replace_node</refname> - <refpurpose> - Replaces node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domelement</type><methodname>DomNode->replace_node</methodname> - <methodparam><type>domelement</type><parameter>newnode</parameter></methodparam> - </methodsynopsis> - <para> - (PHP 4.2) This function replaces an existing node with the passed - new node. Before the replacement - <parameter>newnode</parameter> is copied if it has a parent to - make sure a node which is - already in the document will not be inserted a second time. This - behaviour enforces doing all modifications on the node before the - replacement or to refetch the inserted node afterwards with functions like - <function>domnode_first_child</function>, - <function>domnode_child_nodes</function> etc.. - </para> - <para> - (PHP 4.3) This function replaces an existing node with the passed new node. It is not - copied anymore. If <parameter>newnode</parameter> was already inserted in the document - it is first unlinked from its existing context. If the replacement succeeds the old - node is returned. - </para> - <para> - See also <function>domnode_append_child</function> - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.13 $ --> +<refentry id='function.domnode-replace-node'> + <refnamediv> + <refname>DomNode->replace_node</refname> + <refpurpose> + Replaces node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->replace_node</methodname> + <methodparam><type>domelement</type><parameter>newnode</parameter></methodparam> + </methodsynopsis> + <para> + (PHP 4.2) This function replaces an existing node with the passed + new node. Before the replacement + <parameter>newnode</parameter> is copied if it has a parent to + make sure a node which is + already in the document will not be inserted a second time. This + behaviour enforces doing all modifications on the node before the + replacement or to refetch the inserted node afterwards with functions like + <function>domnode_first_child</function>, + <function>domnode_child_nodes</function> etc.. + </para> + <para> + (PHP 4.3) This function replaces an existing node with the passed new node. It is not + copied anymore. If <parameter>newnode</parameter> was already inserted in the document + it is first unlinked from its existing context. If the replacement succeeds the old + node is returned. + </para> + <para> + See also <function>domnode_append_child</function> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-set-content.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-set-content.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-set-content.xml:1.4 phpdoc/en/reference/domxml/functions/DomNode-set-content.xml:1.5 --- phpdoc/en/reference/domxml/functions/DomNode-set-content.xml:1.4 Mon Nov 1 11:25:05 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-set-content.xml Sun Jun 12 00:42:09 2005 @@ -1,24 +1,23 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.39 --> - <refentry id='function.domnode-set-content'> - <refnamediv> - <refname>DomNode->set_content</refname> - <refpurpose> - Sets content of node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>DomNode->set_content</methodname> - <void/> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.5 $ --> +<refentry id='function.domnode-set-content'> + <refnamediv> + <refname>DomNode->set_content</refname> + <refpurpose> + Sets content of node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>DomNode->set_content</methodname> + <void/> + </methodsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-set-name.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-set-name.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-set-name.xml:1.5 phpdoc/en/reference/domxml/functions/DomNode-set-name.xml:1.6 --- phpdoc/en/reference/domxml/functions/DomNode-set-name.xml:1.5 Mon Nov 1 11:25:05 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-set-name.xml Sun Jun 12 00:42:09 2005 @@ -1,27 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.39 --> - <refentry id='function.domnode-set-name'> - <refnamediv> - <refname>DomNode->set_name</refname> - <refpurpose> - Sets name of node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>DomNode->set_name</methodname> - <void/> - </methodsynopsis> - <para> - Sets name of node. - </para> - <para> - See also <function>domnode_node_name</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.6 $ --> +<refentry id='function.domnode-set-name'> + <refnamediv> + <refname>DomNode->set_name</refname> + <refpurpose> + Sets name of node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>DomNode->set_name</methodname> + <void/> + </methodsynopsis> + <para> + Sets name of node. + </para> + <para> + See also <function>domnode_node_name</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-set-namespace.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-set-namespace.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-set-namespace.xml:1.6 phpdoc/en/reference/domxml/functions/DomNode-set-namespace.xml:1.7 --- phpdoc/en/reference/domxml/functions/DomNode-set-namespace.xml:1.6 Mon Nov 1 11:25:05 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-set-namespace.xml Sun Jun 12 00:42:09 2005 @@ -1,32 +1,31 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-set-namespace'> - <refnamediv> - <refname>DomNode->set_namespace</refname> - <refpurpose> - Sets namespace of a node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>void</type><methodname>DomNode->set_namespace</methodname> - <methodparam><type>string</type><parameter>uri</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>prefix</parameter></methodparam> - </methodsynopsis> - <para> - Sets the namespace of a node to <parameter>uri</parameter>. - If there is already a namespace declaration with the same uri in one of the parent nodes - of the node, the prefix of this is taken, otherwise it will take the one provided - in the optional parameter <parameter>prefix</parameter> or generate a random one. - </para> - <para> - See also <function>domdocument_create_element_ns</function>, and - <function>domnode_add_namespace</function> - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.7 $ --> +<refentry id='function.domnode-set-namespace'> + <refnamediv> + <refname>DomNode->set_namespace</refname> + <refpurpose> + Sets namespace of a node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>void</type><methodname>DomNode->set_namespace</methodname> + <methodparam><type>string</type><parameter>uri</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>prefix</parameter></methodparam> + </methodsynopsis> + <para> + Sets the namespace of a node to <parameter>uri</parameter>. + If there is already a namespace declaration with the same uri in one of the parent nodes + of the node, the prefix of this is taken, otherwise it will take the one provided + in the optional parameter <parameter>prefix</parameter> or generate a random one. + </para> + <para> + See also <function>domdocument_create_element_ns</function>, and + <function>domnode_add_namespace</function> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-unlink-node.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-unlink-node.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-unlink-node.xml:1.5 phpdoc/en/reference/domxml/functions/DomNode-unlink-node.xml:1.6 --- phpdoc/en/reference/domxml/functions/DomNode-unlink-node.xml:1.5 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-unlink-node.xml Sun Jun 12 00:42:09 2005 @@ -1,24 +1,23 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.39 --> - <refentry id='function.domnode-unlink-node'> - <refnamediv> - <refname>DomNode->unlink_node</refname> - <refpurpose> - Deletes node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>void</type><methodname>DomNode->unlink_node</methodname> - <void/> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.6 $ --> +<refentry id='function.domnode-unlink-node'> + <refnamediv> + <refname>DomNode->unlink_node</refname> + <refpurpose> + Deletes node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>void</type><methodname>DomNode->unlink_node</methodname> + <void/> + </methodsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables:
http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-add-namespace.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-add-namespace.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-add-namespace.xml:1.6 phpdoc/en/reference/domxml/functions/DomNode-add-namespace.xml:1.7 --- phpdoc/en/reference/domxml/functions/DomNode-add-namespace.xml:1.6 Mon Nov 1 11:22:48 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-add-namespace.xml Sun Jun 12 00:42:09 2005 @@ -1,28 +1,27 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-add-namespace'> - <refnamediv> - <refname>DomNode->add_namespace</refname> - <refpurpose> - Adds a namespace declaration to a node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>DomNode->add_namespace</methodname> - <methodparam><type>string</type><parameter>uri</parameter></methodparam> - <methodparam><type>string</type><parameter>prefix</parameter></methodparam> - </methodsynopsis> - <para> - </para> - <para> - See also <function>domdocument_create_element_ns</function>, and - <function>domnode_set_namespace</function> - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.7 $ --> +<refentry id='function.domnode-add-namespace'> + <refnamediv> + <refname>DomNode->add_namespace</refname> + <refpurpose> + Adds a namespace declaration to a node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>DomNode->add_namespace</methodname> + <methodparam><type>string</type><parameter>uri</parameter></methodparam> + <methodparam><type>string</type><parameter>prefix</parameter></methodparam> + </methodsynopsis> + <para> + </para> + <para> + See also <function>domdocument_create_element_ns</function>, and + <function>domnode_set_namespace</function> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-append-child.xml?r1=1.12&r2=1.13&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-append-child.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-append-child.xml:1.12 phpdoc/en/reference/domxml/functions/DomNode-append-child.xml:1.13 --- phpdoc/en/reference/domxml/functions/DomNode-append-child.xml:1.12 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-append-child.xml Sun Jun 12 00:42:09 2005 @@ -1,53 +1,52 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.40 --> - <refentry id='function.domnode-append-child'> - <refnamediv> - <refname>DomNode->append_child</refname> - <refpurpose> - Adds new child at the end of the children - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domelement</type><methodname>DomNode->append_child</methodname> - <methodparam><type>domelement</type><parameter>newnode</parameter></methodparam> - </methodsynopsis> - <para> - This functions appends a child to an existing list of children or creates - a new list of children. The child can be created with e.g. - <function>domdocument_create_element</function>, - <function>domdocument_create_text</function> etc. or simply by using any - other node. - </para> - <para> - (PHP < 4.3) Before a new child is appended it is first duplicated. Therefore the new - child is a completely new copy which can be modified without changing the - node which was passed to this function. If the node passed has children - itself, they will be duplicated as well, which makes it quite easy to - duplicate large parts of an XML document. The return value is the - appended child. If you plan to do further modifications on the appended - child you must use the returned node. - </para> - <para> - (PHP 4.3.0/4.3.1) The new child <parameter>newnode</parameter> is first - unlinked from its existing context, if it's already a child of DomNode. - Therefore the node is moved and not copies anymore. - </para> - <para> - (PHP >= 4.3.2) The new child <parameter>newnode</parameter> is first - unlinked from its existing context, if it's already in the tree. Therefore - the node is moved and not copied. This is the behaviour according to the - W3C specifications. If you want to duplicate large parts of an XML document, - use DomNode->clone_node() before appending. - </para> - <para> - The following example will add a new element node to a fresh document - and sets the attribute "align" to "left". - <example> - <title>Adding a child</title> - <programlisting role="php"> +<!-- $Revision: 1.13 $ --> +<refentry id='function.domnode-append-child'> + <refnamediv> + <refname>DomNode->append_child</refname> + <refpurpose> + Adds new child at the end of the children + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->append_child</methodname> + <methodparam><type>domelement</type><parameter>newnode</parameter></methodparam> + </methodsynopsis> + <para> + This functions appends a child to an existing list of children or creates + a new list of children. The child can be created with e.g. + <function>domdocument_create_element</function>, + <function>domdocument_create_text</function> etc. or simply by using any + other node. + </para> + <para> + (PHP < 4.3) Before a new child is appended it is first duplicated. Therefore the new + child is a completely new copy which can be modified without changing the + node which was passed to this function. If the node passed has children + itself, they will be duplicated as well, which makes it quite easy to + duplicate large parts of an XML document. The return value is the + appended child. If you plan to do further modifications on the appended + child you must use the returned node. + </para> + <para> + (PHP 4.3.0/4.3.1) The new child <parameter>newnode</parameter> is first + unlinked from its existing context, if it's already a child of DomNode. + Therefore the node is moved and not copies anymore. + </para> + <para> + (PHP >= 4.3.2) The new child <parameter>newnode</parameter> is first + unlinked from its existing context, if it's already in the tree. Therefore + the node is moved and not copied. This is the behaviour according to the + W3C specifications. If you want to duplicate large parts of an XML document, + use DomNode->clone_node() before appending. + </para> + <para> + The following example will add a new element node to a fresh document + and sets the attribute "align" to "left". + <example> + <title>Adding a child</title> + <programlisting role="php"> <![CDATA[ <?php $doc = domxml_new_doc("1.0"); @@ -56,12 +55,12 @@ $newnode->set_attribute("align", "left"); ?> ]]> - </programlisting> - </example> - The above example could also be written as the following: - <example> - <title>Adding a child</title> - <programlisting role="php"> + </programlisting> + </example> + The above example could also be written as the following: + <example> + <title>Adding a child</title> + <programlisting role="php"> <![CDATA[ <?php $doc = domxml_new_doc("1.0"); @@ -70,15 +69,15 @@ $newnode = $doc->append_child($node); ?> ]]> - </programlisting> - </example> - A more complex example is the one below. It first searches for a certain - element, duplicates it including its children and adds it as a sibling. - Finally a new attribute is added to one of the children of the new - sibling and the whole document is dumped. - <example> - <title>Adding a child</title> - <programlisting role="php"> + </programlisting> + </example> + A more complex example is the one below. It first searches for a certain + element, duplicates it including its children and adds it as a sibling. + Finally a new attribute is added to one of the children of the new + sibling and the whole document is dumped. + <example> + <title>Adding a child</title> + <programlisting role="php"> <![CDATA[ <?php include("example.inc"); @@ -103,18 +102,18 @@ echo "</pre>"; ?> ]]> - </programlisting> - </example> - The above example could also be done with - <function>domnode_insert_before</function> instead of - <function>domnode_append_child</function>. - </para> - <para> - See also <function>domnode_insert_before</function>, and - <function>domnode_clone_node</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + The above example could also be done with + <function>domnode_insert_before</function> instead of + <function>domnode_append_child</function>. + </para> + <para> + See also <function>domnode_insert_before</function>, and + <function>domnode_clone_node</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-append-sibling.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-append-sibling.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-append-sibling.xml:1.7 phpdoc/en/reference/domxml/functions/DomNode-append-sibling.xml:1.8 --- phpdoc/en/reference/domxml/functions/DomNode-append-sibling.xml:1.7 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-append-sibling.xml Sun Jun 12 00:42:09 2005 @@ -1,43 +1,43 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> - <refentry id='function.domnode-append-sibling'> - <refnamediv> - <refname>DomNode->append_sibling</refname> - <refpurpose> - Adds new sibling to a node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domelement</type><methodname>DomNode->append_sibling</methodname> - <methodparam><type>domelement</type><parameter>newnode</parameter></methodparam> - </methodsynopsis> - <para> - This functions appends a sibling to an existing node. - The child can be created with e.g. - <function>domdocument_create_element</function>, - <function>domdocument_create_text</function> etc. or simply by using any - other node. - </para> - <para> - Before a new sibling is added it is first duplicated. Therefore the new - child is a completely new copy which can be modified without changing the - node which was passed to this function. If the node passed has children - itself, they will be duplicated as well, which makes it quite easy to - duplicate large parts of an XML document. The return value is the - added sibling. If you plan to do further modifications on the added - sibling you must use the returned node. - </para> - <para> - This function has been added to provide the behaviour of - <function>domnode_append_child</function> as it works till PHP 4.2. - </para> - <para> - See also <function>domnode_append_before</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.8 $ --> +<refentry id='function.domnode-append-sibling'> + <refnamediv> + <refname>DomNode->append_sibling</refname> + <refpurpose> + Adds new sibling to a node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->append_sibling</methodname> + <methodparam><type>domelement</type><parameter>newnode</parameter></methodparam> + </methodsynopsis> + <para> + This functions appends a sibling to an existing node. + The child can be created with e.g. + <function>domdocument_create_element</function>, + <function>domdocument_create_text</function> etc. or simply by using any + other node. + </para> + <para> + Before a new sibling is added it is first duplicated. Therefore the new + child is a completely new copy which can be modified without changing the + node which was passed to this function. If the node passed has children + itself, they will be duplicated as well, which makes it quite easy to + duplicate large parts of an XML document. The return value is the + added sibling. If you plan to do further modifications on the added + sibling you must use the returned node. + </para> + <para> + This function has been added to provide the behaviour of + <function>domnode_append_child</function> as it works till PHP 4.2. + </para> + <para> + See also <function>domnode_append_before</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-attributes.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-attributes.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-attributes.xml:1.5 phpdoc/en/reference/domxml/functions/DomNode-attributes.xml:1.6 --- phpdoc/en/reference/domxml/functions/DomNode-attributes.xml:1.5 Mon Nov 1 11:22:48 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-attributes.xml Sun Jun 12 00:42:09 2005 @@ -1,28 +1,27 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-attributes'> - <refnamediv> - <refname>DomNode->attributes</refname> - <refpurpose> - Returns list of attributes - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>array</type><methodname>DomNode->attributes</methodname> - <void/> - </methodsynopsis> - <para> - This function only returns an array of attributes if the node is of - type XML_ELEMENT_NODE. - </para> - <para> - (PHP >= 4.3 only) If no attributes are found, NULL is returned. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.6 $ --> +<refentry id='function.domnode-attributes'> + <refnamediv> + <refname>DomNode->attributes</refname> + <refpurpose> + Returns list of attributes + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>array</type><methodname>DomNode->attributes</methodname> + <void/> + </methodsynopsis> + <para> + This function only returns an array of attributes if the node is of + type XML_ELEMENT_NODE. + </para> + <para> + (PHP >= 4.3 only) If no attributes are found, NULL is returned. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-child-nodes.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-child-nodes.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-child-nodes.xml:1.7 phpdoc/en/reference/domxml/functions/DomNode-child-nodes.xml:1.8 --- phpdoc/en/reference/domxml/functions/DomNode-child-nodes.xml:1.7 Mon Nov 1 11:22:48 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-child-nodes.xml Sun Jun 12 00:42:09 2005 @@ -1,28 +1,27 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-child-nodes'> - <refnamediv> - <refname>DomNode->child_nodes</refname> - <refpurpose> - Returns children of node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>array</type><methodname>DomNode->child_nodes</methodname> - <void/> - </methodsynopsis> - <para> - Returns all children of the node. - </para> - <para> - See also <function>domnode_next_sibling</function>, and - <function>domnode_previous_sibling</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.8 $ --> +<refentry id='function.domnode-child-nodes'> + <refnamediv> + <refname>DomNode->child_nodes</refname> + <refpurpose> + Returns children of node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>array</type><methodname>DomNode->child_nodes</methodname> + <void/> + </methodsynopsis> + <para> + Returns all children of the node. + </para> + <para> + See also <function>domnode_next_sibling</function>, and + <function>domnode_previous_sibling</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-clone-node.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-clone-node.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-clone-node.xml:1.5 phpdoc/en/reference/domxml/functions/DomNode-clone-node.xml:1.6 --- phpdoc/en/reference/domxml/functions/DomNode-clone-node.xml:1.5 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-clone-node.xml Sun Jun 12 00:42:09 2005 @@ -1,24 +1,23 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.39 --> - <refentry id='function.domnode-clone-node'> - <refnamediv> - <refname>DomNode->clone_node</refname> - <refpurpose> - Clones a node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domelement</type><methodname>DomNode->clone_node</methodname> - <void/> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.6 $ --> +<refentry id='function.domnode-clone-node'> + <refnamediv> + <refname>DomNode->clone_node</refname> + <refpurpose> + Clones a node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->clone_node</methodname> + <void/> + </methodsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-dump-node.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-dump-node.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-dump-node.xml:1.5 phpdoc/en/reference/domxml/functions/DomNode-dump-node.xml:1.6 --- phpdoc/en/reference/domxml/functions/DomNode-dump-node.xml:1.5 Mon Nov 1 11:22:48 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-dump-node.xml Sun Jun 12 00:42:09 2005 @@ -1,27 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.39 --> - <refentry id='function.domnode-dump-node'> - <refnamediv> - <refname>DomNode->dump_node</refname> - <refpurpose> - Dumps a single node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>DomNode->dump_node</methodname> - <void/> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - <para> - See also <function>domdocument_dump_mem</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.6 $ --> +<refentry id='function.domnode-dump-node'> + <refnamediv> + <refname>DomNode->dump_node</refname> + <refpurpose> + Dumps a single node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>DomNode->dump_node</methodname> + <void/> + </methodsynopsis> + <para> + &warn.undocumented.func; + </para> + <para> + See also <function>domdocument_dump_mem</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-first-child.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-first-child.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-first-child.xml:1.9 phpdoc/en/reference/domxml/functions/DomNode-first-child.xml:1.10 --- phpdoc/en/reference/domxml/functions/DomNode-first-child.xml:1.9 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-first-child.xml Sun Jun 12 00:42:09 2005 @@ -1,32 +1,31 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-first-child'> - <refnamediv> - <refname>DomNode->first_child</refname> - <refpurpose> - Returns first child of node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domelement</type><methodname>DomNode->first_child</methodname> - <void/> - </methodsynopsis> - <para> - Returns the first child of the node. - </para> - <para> - (PHP >= 4.3 only) If no first child is found, NULL is returned. - </para> - <para> - See also <function>domnode_last_child</function>, and - <function>domnode_next_sibling</function>, - <function>domnode_previous_sibling</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.10 $ --> +<refentry id='function.domnode-first-child'> + <refnamediv> + <refname>DomNode->first_child</refname> + <refpurpose> + Returns first child of node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->first_child</methodname> + <void/> + </methodsynopsis> + <para> + Returns the first child of the node. + </para> + <para> + (PHP >= 4.3 only) If no first child is found, NULL is returned. + </para> + <para> + See also <function>domnode_last_child</function>, and + <function>domnode_next_sibling</function>, + <function>domnode_previous_sibling</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-get-content.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-get-content.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-get-content.xml:1.8 phpdoc/en/reference/domxml/functions/DomNode-get-content.xml:1.9 --- phpdoc/en/reference/domxml/functions/DomNode-get-content.xml:1.8 Mon Nov 1 11:25:02 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-get-content.xml Sun Jun 12 00:42:09 2005 @@ -1,26 +1,25 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.39 --> - <refentry id='function.domnode-get-content'> - <refnamediv> - <refname>DomNode->get_content</refname> - <refpurpose> - Gets content of node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>DomNode->get_content</methodname> - <void/> - </methodsynopsis> - <para> - This function returns the content of the actual node. - </para> - <para> - <example> - <title>Getting a content</title> - <programlisting role="php"> +<!-- $Revision: 1.9 $ --> +<refentry id='function.domnode-get-content'> + <refnamediv> + <refname>DomNode->get_content</refname> + <refpurpose> + Gets content of node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>DomNode->get_content</methodname> + <void/> + </methodsynopsis> + <para> + This function returns the content of the actual node. + </para> + <para> + <example> + <title>Getting a content</title> + <programlisting role="php"> <![CDATA[ <?php if (!$dom = domxml_open_mem($xmlstr)) { @@ -39,11 +38,11 @@ ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-has-attributes.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-has-attributes.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-has-attributes.xml:1.6 phpdoc/en/reference/domxml/functions/DomNode-has-attributes.xml:1.7 --- phpdoc/en/reference/domxml/functions/DomNode-has-attributes.xml:1.6 Mon Nov 1 11:25:02 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-has-attributes.xml Sun Jun 12 00:42:09 2005 @@ -1,27 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-has-attributes'> - <refnamediv> - <refname>DomNode->has_attributes</refname> - <refpurpose> - Checks if node has attributes - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>DomNode->has_attributes</methodname> - <void/> - </methodsynopsis> - <para> - This function checks if the node has attributes. - </para> - <para> - See also <function>domnode_has_child_nodes</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.7 $ --> +<refentry id='function.domnode-has-attributes'> + <refnamediv> + <refname>DomNode->has_attributes</refname> + <refpurpose> + Checks if node has attributes + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>DomNode->has_attributes</methodname> + <void/> + </methodsynopsis> + <para> + This function checks if the node has attributes. + </para> + <para> + See also <function>domnode_has_child_nodes</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-has-child-nodes.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-has-child-nodes.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-has-child-nodes.xml:1.5 phpdoc/en/reference/domxml/functions/DomNode-has-child-nodes.xml:1.6 --- phpdoc/en/reference/domxml/functions/DomNode-has-child-nodes.xml:1.5 Mon Nov 1 11:25:02 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-has-child-nodes.xml Sun Jun 12 00:42:09 2005 @@ -1,27 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-has-child-nodes'> - <refnamediv> - <refname>DomNode->has_child_nodes</refname> - <refpurpose> - Checks if node has children - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>DomNode->has_child_nodes</methodname> - <void/> - </methodsynopsis> - <para> - This function checks if the node has children. - </para> - <para> - See also <function>domnode_child_nodes</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.6 $ --> +<refentry id='function.domnode-has-child-nodes'> + <refnamediv> + <refname>DomNode->has_child_nodes</refname> + <refpurpose> + Checks if node has children + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>DomNode->has_child_nodes</methodname> + <void/> + </methodsynopsis> + <para> + This function checks if the node has children. + </para> + <para> + See also <function>domnode_child_nodes</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-insert-before.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-insert-before.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-insert-before.xml:1.10 phpdoc/en/reference/domxml/functions/DomNode-insert-before.xml:1.11 --- phpdoc/en/reference/domxml/functions/DomNode-insert-before.xml:1.10 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-insert-before.xml Sun Jun 12 00:42:09 2005 @@ -1,42 +1,41 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-insert-before'> - <refnamediv> - <refname>DomNode->insert_before</refname> - <refpurpose> - Inserts new node as child - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domelement</type><methodname>DomNode->insert_before</methodname> - <methodparam><type>domelement</type><parameter>newnode</parameter></methodparam> - <methodparam><type>domelement</type><parameter>refnode</parameter></methodparam> - </methodsynopsis> - <para> - This function inserts the new node <parameter>newnode</parameter> right - before the node <parameter>refnode</parameter>. The return value is the - inserted node. If you plan to do further modifications on the appended - child you must use the returned node. - </para> - <para> - (PHP >= 4.3 only) If <parameter>newnode</parameter> already is part of a - document, it will be first unlinked from its existing context. If - <parameter>refnode</parameter> is NULL, then <parameter>newnode</parameter> - will be inserted at the end of the list of children. - </para> - <para> - <function>domnode_insert_before</function> is very similar to - <function>domnode_append_child</function> as the following example shows - which does the same as the example at - <function>domnode_append_child</function>. - </para> - <para> - <example> - <title>Adding a child</title> - <programlisting role="php"> +<!-- $Revision: 1.11 $ --> +<refentry id='function.domnode-insert-before'> + <refnamediv> + <refname>DomNode->insert_before</refname> + <refpurpose> + Inserts new node as child + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->insert_before</methodname> + <methodparam><type>domelement</type><parameter>newnode</parameter></methodparam> + <methodparam><type>domelement</type><parameter>refnode</parameter></methodparam> + </methodsynopsis> + <para> + This function inserts the new node <parameter>newnode</parameter> right + before the node <parameter>refnode</parameter>. The return value is the + inserted node. If you plan to do further modifications on the appended + child you must use the returned node. + </para> + <para> + (PHP >= 4.3 only) If <parameter>newnode</parameter> already is part of a + document, it will be first unlinked from its existing context. If + <parameter>refnode</parameter> is NULL, then <parameter>newnode</parameter> + will be inserted at the end of the list of children. + </para> + <para> + <function>domnode_insert_before</function> is very similar to + <function>domnode_append_child</function> as the following example shows + which does the same as the example at + <function>domnode_append_child</function>. + </para> + <para> + <example> + <title>Adding a child</title> + <programlisting role="php"> <![CDATA[ <?php include("example.inc"); @@ -60,14 +59,14 @@ echo "</pre>"; ?> ]]> - </programlisting> - </example> - </para> - <para> - See also <function>domnode_append_child</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + See also <function>domnode_append_child</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-is-blank-node.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-is-blank-node.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-is-blank-node.xml:1.4 phpdoc/en/reference/domxml/functions/DomNode-is-blank-node.xml:1.5 --- phpdoc/en/reference/domxml/functions/DomNode-is-blank-node.xml:1.4 Mon Nov 1 11:25:03 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-is-blank-node.xml Sun Jun 12 00:42:09 2005 @@ -1,24 +1,23 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.39 --> - <refentry id='function.domnode-is-blank-node'> - <refnamediv> - <refname>DomNode->is_blank_node</refname> - <refpurpose> - Checks if node is blank - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>DomNode->is_blank_node</methodname> - <void/> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.5 $ --> +<refentry id='function.domnode-is-blank-node'> + <refnamediv> + <refname>DomNode->is_blank_node</refname> + <refpurpose> + Checks if node is blank + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>DomNode->is_blank_node</methodname> + <void/> + </methodsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-last-child.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-last-child.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-last-child.xml:1.9 phpdoc/en/reference/domxml/functions/DomNode-last-child.xml:1.10 --- phpdoc/en/reference/domxml/functions/DomNode-last-child.xml:1.9 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-last-child.xml Sun Jun 12 00:42:09 2005 @@ -1,32 +1,31 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-last-child'> - <refnamediv> - <refname>DomNode->last_child</refname> - <refpurpose> - Returns last child of node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domelement</type><methodname>DomNode->last_child</methodname> - <void/> - </methodsynopsis> - <para> - Returns the last child of the node. - </para> - <para> - (PHP >= 4.3 only) If no last child is found, NULL is returned. - </para> - <para> - See also <function>domnode_first_child</function>, and - <function>domnode_next_sibling</function>, - <function>domnode_previous_sibling</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.10 $ --> +<refentry id='function.domnode-last-child'> + <refnamediv> + <refname>DomNode->last_child</refname> + <refpurpose> + Returns last child of node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->last_child</methodname> + <void/> + </methodsynopsis> + <para> + Returns the last child of the node. + </para> + <para> + (PHP >= 4.3 only) If no last child is found, NULL is returned. + </para> + <para> + See also <function>domnode_first_child</function>, and + <function>domnode_next_sibling</function>, + <function>domnode_previous_sibling</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-next-sibling.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-next-sibling.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-next-sibling.xml:1.9 phpdoc/en/reference/domxml/functions/DomNode-next-sibling.xml:1.10 --- phpdoc/en/reference/domxml/functions/DomNode-next-sibling.xml:1.9 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-next-sibling.xml Sun Jun 12 00:42:09 2005 @@ -1,29 +1,28 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-next-sibling'> - <refnamediv> - <refname>DomNode->next_sibling</refname> - <refpurpose> - Returns the next sibling of node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domelement</type><methodname>DomNode->next_sibling</methodname> - <void/> - </methodsynopsis> - <para> - This function returns the next sibling of the current node. If there is - no next sibling it returns &false; (< 4.3) or null (>= 4.3). You can - use this function to iterate over all children of a node as shown in the - example. - </para> - <para> - <example> - <title>Iterate over children</title> - <programlisting role="php"> +<!-- $Revision: 1.10 $ --> +<refentry id='function.domnode-next-sibling'> + <refnamediv> + <refname>DomNode->next_sibling</refname> + <refpurpose> + Returns the next sibling of node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->next_sibling</methodname> + <void/> + </methodsynopsis> + <para> + This function returns the next sibling of the current node. If there is + no next sibling it returns &false; (< 4.3) or null (>= 4.3). You can + use this function to iterate over all children of a node as shown in the + example. + </para> + <para> + <example> + <title>Iterate over children</title> + <programlisting role="php"> <![CDATA[ <?php include("example.inc"); @@ -43,14 +42,14 @@ } ?> ]]> - </programlisting> - </example> - </para> - <para> - See also <function>domnode_previous_sibling</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + See also <function>domnode_previous_sibling</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-node-name.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-node-name.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-node-name.xml:1.4 phpdoc/en/reference/domxml/functions/DomNode-node-name.xml:1.5 --- phpdoc/en/reference/domxml/functions/DomNode-node-name.xml:1.4 Mon Nov 1 11:25:03 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-node-name.xml Sun Jun 12 00:42:09 2005 @@ -1,86 +1,85 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-node-name'> - <refnamediv> - <refname>DomNode->node_name</refname> - <refpurpose> - Returns name of node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>DomNode->node_name</methodname> - <void/> - </methodsynopsis> - <para> - Returns name of the node. The name has different meanings - for the different types of nodes as illustrated in the following table. - <table> - <title>Meaning of value</title> - <tgroup cols="2"> - <thead> - <row> - <entry>Type</entry> - <entry>Meaning</entry> - </row> - </thead> - <tbody> - <row> - <entry>DomAttribute</entry> - <entry>value of attribute</entry> - </row> - <row> - <entry>DomAttribute</entry> - <entry></entry> - </row> - <row> - <entry>DomCDataSection</entry> - <entry>#cdata-section</entry> - </row> - <row> - <entry>DomComment</entry> - <entry>#comment</entry> - </row> - <row> - <entry>DomDocument</entry> - <entry>#document</entry> - </row> - <row> - <entry>DomDocumentType</entry> - <entry>document type name</entry> - </row> - <row> - <entry>DomElement</entry> - <entry>tag name</entry> - </row> - <row> - <entry>DomEntity</entry> - <entry>name of entity</entry> - </row> - <row> - <entry>DomEntityReference</entry> - <entry>name of entity reference</entry> - </row> - <row> - <entry>DomNotation</entry> - <entry>notation name</entry> - </row> - <row> - <entry>DomProcessingInstruction</entry> - <entry>target</entry> - </row> - <row> - <entry>DomText</entry> - <entry>#text</entry> - </row> - </tbody> - </tgroup> - </table> - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.5 $ --> +<refentry id='function.domnode-node-name'> + <refnamediv> + <refname>DomNode->node_name</refname> + <refpurpose> + Returns name of node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>DomNode->node_name</methodname> + <void/> + </methodsynopsis> + <para> + Returns name of the node. The name has different meanings + for the different types of nodes as illustrated in the following table. + <table> + <title>Meaning of value</title> + <tgroup cols="2"> + <thead> + <row> + <entry>Type</entry> + <entry>Meaning</entry> + </row> + </thead> + <tbody> + <row> + <entry>DomAttribute</entry> + <entry>value of attribute</entry> + </row> + <row> + <entry>DomAttribute</entry> + <entry></entry> + </row> + <row> + <entry>DomCDataSection</entry> + <entry>#cdata-section</entry> + </row> + <row> + <entry>DomComment</entry> + <entry>#comment</entry> + </row> + <row> + <entry>DomDocument</entry> + <entry>#document</entry> + </row> + <row> + <entry>DomDocumentType</entry> + <entry>document type name</entry> + </row> + <row> + <entry>DomElement</entry> + <entry>tag name</entry> + </row> + <row> + <entry>DomEntity</entry> + <entry>name of entity</entry> + </row> + <row> + <entry>DomEntityReference</entry> + <entry>name of entity reference</entry> + </row> + <row> + <entry>DomNotation</entry> + <entry>notation name</entry> + </row> + <row> + <entry>DomProcessingInstruction</entry> + <entry>target</entry> + </row> + <row> + <entry>DomText</entry> + <entry>#text</entry> + </row> + </tbody> + </tgroup> + </table> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-node-type.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-node-type.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-node-type.xml:1.5 phpdoc/en/reference/domxml/functions/DomNode-node-type.xml:1.6 --- phpdoc/en/reference/domxml/functions/DomNode-node-type.xml:1.5 Mon Nov 1 11:25:03 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-node-type.xml Sun Jun 12 00:42:09 2005 @@ -1,26 +1,25 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-node-type'> - <refnamediv> - <refname>DomNode->node_type</refname> - <refpurpose> - Returns type of node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>int</type><methodname>DomNode->node_type</methodname> - <void/> - </methodsynopsis> - <para> - Returns the type of the node. All possible types are listed in - the table in the introduction. - </para> - <example> - <title></title> - <programlisting role="php"> +<!-- $Revision: 1.6 $ --> +<refentry id='function.domnode-node-type'> + <refnamediv> + <refname>DomNode->node_type</refname> + <refpurpose> + Returns type of node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>int</type><methodname>DomNode->node_type</methodname> + <void/> + </methodsynopsis> + <para> + Returns the type of the node. All possible types are listed in + the table in the introduction. + </para> + <example> + <title></title> + <programlisting role="php"> <![CDATA[ <?php @@ -39,17 +38,17 @@ ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ title para ]]> - </screen> - </example> - </refsect1> - </refentry> + </screen> + </example> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-node-value.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-node-value.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-node-value.xml:1.4 phpdoc/en/reference/domxml/functions/DomNode-node-value.xml:1.5 --- phpdoc/en/reference/domxml/functions/DomNode-node-value.xml:1.4 Mon Nov 1 11:25:03 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-node-value.xml Sun Jun 12 00:42:09 2005 @@ -1,86 +1,85 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-node-value'> - <refnamediv> - <refname>DomNode->node_value</refname> - <refpurpose> - Returns value of a node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>DomNode->node_value</methodname> - <void/> - </methodsynopsis> - <para> - Returns value of the node. The value has different meanings - for the different types of nodes as illustrated in the following table. - <table> - <title>Meaning of value</title> - <tgroup cols="2"> - <thead> - <row> - <entry>Type</entry> - <entry>Meaning</entry> - </row> - </thead> - <tbody> - <row> - <entry>DomAttribute</entry> - <entry>value of attribute</entry> - </row> - <row> - <entry>DomAttribute</entry> - <entry></entry> - </row> - <row> - <entry>DomCDataSection</entry> - <entry>content</entry> - </row> - <row> - <entry>DomComment</entry> - <entry>content of comment</entry> - </row> - <row> - <entry>DomDocument</entry> - <entry>null</entry> - </row> - <row> - <entry>DomDocumentType</entry> - <entry>null</entry> - </row> - <row> - <entry>DomElement</entry> - <entry>null</entry> - </row> - <row> - <entry>DomEntity</entry> - <entry>null</entry> - </row> - <row> - <entry>DomEntityReference</entry> - <entry>null</entry> - </row> - <row> - <entry>DomNotation</entry> - <entry>null</entry> - </row> - <row> - <entry>DomProcessingInstruction</entry> - <entry>entire content without target</entry> - </row> - <row> - <entry>DomText</entry> - <entry>content of text</entry> - </row> - </tbody> - </tgroup> - </table> - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.5 $ --> +<refentry id='function.domnode-node-value'> + <refnamediv> + <refname>DomNode->node_value</refname> + <refpurpose> + Returns value of a node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>DomNode->node_value</methodname> + <void/> + </methodsynopsis> + <para> + Returns value of the node. The value has different meanings + for the different types of nodes as illustrated in the following table. + <table> + <title>Meaning of value</title> + <tgroup cols="2"> + <thead> + <row> + <entry>Type</entry> + <entry>Meaning</entry> + </row> + </thead> + <tbody> + <row> + <entry>DomAttribute</entry> + <entry>value of attribute</entry> + </row> + <row> + <entry>DomAttribute</entry> + <entry></entry> + </row> + <row> + <entry>DomCDataSection</entry> + <entry>content</entry> + </row> + <row> + <entry>DomComment</entry> + <entry>content of comment</entry> + </row> + <row> + <entry>DomDocument</entry> + <entry>null</entry> + </row> + <row> + <entry>DomDocumentType</entry> + <entry>null</entry> + </row> + <row> + <entry>DomElement</entry> + <entry>null</entry> + </row> + <row> + <entry>DomEntity</entry> + <entry>null</entry> + </row> + <row> + <entry>DomEntityReference</entry> + <entry>null</entry> + </row> + <row> + <entry>DomNotation</entry> + <entry>null</entry> + </row> + <row> + <entry>DomProcessingInstruction</entry> + <entry>entire content without target</entry> + </row> + <row> + <entry>DomText</entry> + <entry>content of text</entry> + </row> + </tbody> + </tgroup> + </table> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-owner-document.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-owner-document.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-owner-document.xml:1.6 phpdoc/en/reference/domxml/functions/DomNode-owner-document.xml:1.7 --- phpdoc/en/reference/domxml/functions/DomNode-owner-document.xml:1.6 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-owner-document.xml Sun Jun 12 00:42:09 2005 @@ -1,27 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-owner-document'> - <refnamediv> - <refname>DomNode->owner_document</refname> - <refpurpose> - Returns the document this node belongs to - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domdocument</type><methodname>DomNode->owner_document</methodname> - <void/> - </methodsynopsis> - <para> - This function returns the document the current node belongs to. - </para> - <para> - The following example will create two identical lists of children. - <example> - <title>Finding the document of a node</title> - <programlisting role="php"> +<!-- $Revision: 1.7 $ --> +<refentry id='function.domnode-owner-document'> + <refnamediv> + <refname>DomNode->owner_document</refname> + <refpurpose> + Returns the document this node belongs to + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domdocument</type><methodname>DomNode->owner_document</methodname> + <void/> + </methodsynopsis> + <para> + This function returns the document the current node belongs to. + </para> + <para> + The following example will create two identical lists of children. + <example> + <title>Finding the document of a node</title> + <programlisting role="php"> <![CDATA[ <?php $doc = domxml_new_doc("1.0"); @@ -35,14 +34,14 @@ print_r($children); ?> ]]> - </programlisting> - </example> - </para> - <para> - See also <function>domnode_insert_before</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + See also <function>domnode_insert_before</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-parent-node.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-parent-node.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-parent-node.xml:1.6 phpdoc/en/reference/domxml/functions/DomNode-parent-node.xml:1.7 --- phpdoc/en/reference/domxml/functions/DomNode-parent-node.xml:1.6 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-parent-node.xml Sun Jun 12 00:42:09 2005 @@ -1,30 +1,29 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-parent-node'> - <refnamediv> - <refname>DomNode->parent_node</refname> - <refpurpose> - Returns the parent of the node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domnode</type><methodname>DomNode->parent_node</methodname> - <void/> - </methodsynopsis> - <para> - This function returns the parent node. - </para> - <para> - (PHP >= 4.3 only) If no parent is found, NULL is returned. - </para> - <para> - The following example will show two identical lists of children. - <example> - <title>Finding the document of a node</title> - <programlisting role="php"> +<!-- $Revision: 1.7 $ --> +<refentry id='function.domnode-parent-node'> + <refnamediv> + <refname>DomNode->parent_node</refname> + <refpurpose> + Returns the parent of the node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domnode</type><methodname>DomNode->parent_node</methodname> + <void/> + </methodsynopsis> + <para> + This function returns the parent node. + </para> + <para> + (PHP >= 4.3 only) If no parent is found, NULL is returned. + </para> + <para> + The following example will show two identical lists of children. + <example> + <title>Finding the document of a node</title> + <programlisting role="php"> <![CDATA[ <?php $doc = domxml_new_doc("1.0"); @@ -38,11 +37,11 @@ print_r($children); ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-prefix.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-prefix.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-prefix.xml:1.4 phpdoc/en/reference/domxml/functions/DomNode-prefix.xml:1.5 --- phpdoc/en/reference/domxml/functions/DomNode-prefix.xml:1.4 Mon Nov 1 11:25:04 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-prefix.xml Sun Jun 12 00:42:09 2005 @@ -1,24 +1,23 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.39 --> - <refentry id='function.domnode-prefix'> - <refnamediv> - <refname>DomNode->prefix</refname> - <refpurpose> - Returns name space prefix of node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>DomNode->prefix</methodname> - <void/> - </methodsynopsis> - <para> - Returns the name space prefix of the node. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.5 $ --> +<refentry id='function.domnode-prefix'> + <refnamediv> + <refname>DomNode->prefix</refname> + <refpurpose> + Returns name space prefix of node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>DomNode->prefix</methodname> + <void/> + </methodsynopsis> + <para> + Returns the name space prefix of the node. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-previous-sibling.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-previous-sibling.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-previous-sibling.xml:1.8 phpdoc/en/reference/domxml/functions/DomNode-previous-sibling.xml:1.9 --- phpdoc/en/reference/domxml/functions/DomNode-previous-sibling.xml:1.8 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-previous-sibling.xml Sun Jun 12 00:42:09 2005 @@ -1,30 +1,29 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-previous-sibling'> - <refnamediv> - <refname>DomNode->previous_sibling</refname> - <refpurpose> - Returns the previous sibling of node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domelement</type><methodname>DomNode->previous_sibling</methodname> - <void/> - </methodsynopsis> - <para> - This function returns the previous sibling of the current node. If there - is no previous sibling it returns &false; (< 4.3) or &null; (>= 4.3). You - can use this function to iterate over all children of a node as shown in - the example. - </para> - <para> - See also <function>domnode_next_sibling</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.9 $ --> +<refentry id='function.domnode-previous-sibling'> + <refnamediv> + <refname>DomNode->previous_sibling</refname> + <refpurpose> + Returns the previous sibling of node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->previous_sibling</methodname> + <void/> + </methodsynopsis> + <para> + This function returns the previous sibling of the current node. If there + is no previous sibling it returns &false; (< 4.3) or &null; (>= 4.3). You + can use this function to iterate over all children of a node as shown in + the example. + </para> + <para> + See also <function>domnode_next_sibling</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-remove-child.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-remove-child.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-remove-child.xml:1.7 phpdoc/en/reference/domxml/functions/DomNode-remove-child.xml:1.8 --- phpdoc/en/reference/domxml/functions/DomNode-remove-child.xml:1.7 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-remove-child.xml Sun Jun 12 00:42:09 2005 @@ -1,28 +1,27 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-remove-child'> - <refnamediv> - <refname>DomNode->remove_child</refname> - <refpurpose> - Removes child from list of children - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domtext</type><methodname>DomNode->remove_child</methodname> - <methodparam><type>domtext</type><parameter>oldchild</parameter></methodparam> - </methodsynopsis> - <para> - This functions removes a child from a list of children. If child cannot - be removed or is not a child the function will return &false;. - If the child could be removed the functions returns the old child. - </para> - <para> - <example> - <title>Removing a child</title> - <programlisting role="php"> +<!-- $Revision: 1.8 $ --> +<refentry id='function.domnode-remove-child'> + <refnamediv> + <refname>DomNode->remove_child</refname> + <refpurpose> + Removes child from list of children + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domtext</type><methodname>DomNode->remove_child</methodname> + <methodparam><type>domtext</type><parameter>oldchild</parameter></methodparam> + </methodsynopsis> + <para> + This functions removes a child from a list of children. If child cannot + be removed or is not a child the function will return &false;. + If the child could be removed the functions returns the old child. + </para> + <para> + <example> + <title>Removing a child</title> + <programlisting role="php"> <![CDATA[ <?php include("example.inc"); @@ -43,14 +42,14 @@ echo "</PRE>"; ?> ]]> - </programlisting> - </example> - </para> - <para> - See also <function>domnode_append_child</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + See also <function>domnode_append_child</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-replace-child.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-replace-child.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-replace-child.xml:1.9 phpdoc/en/reference/domxml/functions/DomNode-replace-child.xml:1.10 --- phpdoc/en/reference/domxml/functions/DomNode-replace-child.xml:1.9 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-replace-child.xml Sun Jun 12 00:42:09 2005 @@ -1,39 +1,39 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> - <refentry id='function.domnode-replace-child'> - <refnamediv> - <refname>DomNode->replace_child</refname> - <refpurpose> - Replaces a child - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domelement</type><methodname>DomNode->replace_child</methodname> - <methodparam><type>domelement</type><parameter>oldnode</parameter></methodparam> - <methodparam><type>domelement</type><parameter>newnode</parameter></methodparam> - </methodsynopsis> - <para> - (PHP 4.2) This function replaces the child <parameter>oldnode</parameter> - with the passed new node. If the new node is already a child it - will not be added a second time. If the old node cannot be found - the function returns &false;. If the replacement succeeds the old node - is returned. - </para> - <para> - (PHP 4.3) This function replaces the child <parameter>oldnode</parameter> - with the passed <parameter>newnode</parameter>, even if the new node already - is a child of the DomNode. If <parameter>newnode</parameter> was already - inserted in the document it is first unlinked from its existing context. - If the old node cannot be found the function returns &false;. If the replacement - succeeds the old node is returned. (This behaviour is according to the W3C specs). - </para> - <para> - See also <function>domnode_append_child</function> - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.10 $ --> +<refentry id='function.domnode-replace-child'> + <refnamediv> + <refname>DomNode->replace_child</refname> + <refpurpose> + Replaces a child + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->replace_child</methodname> + <methodparam><type>domelement</type><parameter>oldnode</parameter></methodparam> + <methodparam><type>domelement</type><parameter>newnode</parameter></methodparam> + </methodsynopsis> + <para> + (PHP 4.2) This function replaces the child <parameter>oldnode</parameter> + with the passed new node. If the new node is already a child it + will not be added a second time. If the old node cannot be found + the function returns &false;. If the replacement succeeds the old node + is returned. + </para> + <para> + (PHP 4.3) This function replaces the child <parameter>oldnode</parameter> + with the passed <parameter>newnode</parameter>, even if the new node already + is a child of the DomNode. If <parameter>newnode</parameter> was already + inserted in the document it is first unlinked from its existing context. + If the old node cannot be found the function returns &false;. If the replacement + succeeds the old node is returned. (This behaviour is according to the W3C specs). + </para> + <para> + See also <function>domnode_append_child</function> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml?r1=1.12&r2=1.13&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml:1.12 phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml:1.13 --- phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml:1.12 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml Sun Jun 12 00:42:09 2005 @@ -1,41 +1,40 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.39 --> - <refentry id='function.domnode-replace-node'> - <refnamediv> - <refname>DomNode->replace_node</refname> - <refpurpose> - Replaces node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>domelement</type><methodname>DomNode->replace_node</methodname> - <methodparam><type>domelement</type><parameter>newnode</parameter></methodparam> - </methodsynopsis> - <para> - (PHP 4.2) This function replaces an existing node with the passed - new node. Before the replacement - <parameter>newnode</parameter> is copied if it has a parent to - make sure a node which is - already in the document will not be inserted a second time. This - behaviour enforces doing all modifications on the node before the - replacement or to refetch the inserted node afterwards with functions like - <function>domnode_first_child</function>, - <function>domnode_child_nodes</function> etc.. - </para> - <para> - (PHP 4.3) This function replaces an existing node with the passed new node. It is not - copied anymore. If <parameter>newnode</parameter> was already inserted in the document - it is first unlinked from its existing context. If the replacement succeeds the old - node is returned. - </para> - <para> - See also <function>domnode_append_child</function> - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.13 $ --> +<refentry id='function.domnode-replace-node'> + <refnamediv> + <refname>DomNode->replace_node</refname> + <refpurpose> + Replaces node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->replace_node</methodname> + <methodparam><type>domelement</type><parameter>newnode</parameter></methodparam> + </methodsynopsis> + <para> + (PHP 4.2) This function replaces an existing node with the passed + new node. Before the replacement + <parameter>newnode</parameter> is copied if it has a parent to + make sure a node which is + already in the document will not be inserted a second time. This + behaviour enforces doing all modifications on the node before the + replacement or to refetch the inserted node afterwards with functions like + <function>domnode_first_child</function>, + <function>domnode_child_nodes</function> etc.. + </para> + <para> + (PHP 4.3) This function replaces an existing node with the passed new node. It is not + copied anymore. If <parameter>newnode</parameter> was already inserted in the document + it is first unlinked from its existing context. If the replacement succeeds the old + node is returned. + </para> + <para> + See also <function>domnode_append_child</function> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-set-content.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-set-content.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-set-content.xml:1.4 phpdoc/en/reference/domxml/functions/DomNode-set-content.xml:1.5 --- phpdoc/en/reference/domxml/functions/DomNode-set-content.xml:1.4 Mon Nov 1 11:25:05 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-set-content.xml Sun Jun 12 00:42:09 2005 @@ -1,24 +1,23 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.39 --> - <refentry id='function.domnode-set-content'> - <refnamediv> - <refname>DomNode->set_content</refname> - <refpurpose> - Sets content of node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>DomNode->set_content</methodname> - <void/> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.5 $ --> +<refentry id='function.domnode-set-content'> + <refnamediv> + <refname>DomNode->set_content</refname> + <refpurpose> + Sets content of node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>DomNode->set_content</methodname> + <void/> + </methodsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-set-name.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-set-name.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-set-name.xml:1.5 phpdoc/en/reference/domxml/functions/DomNode-set-name.xml:1.6 --- phpdoc/en/reference/domxml/functions/DomNode-set-name.xml:1.5 Mon Nov 1 11:25:05 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-set-name.xml Sun Jun 12 00:42:09 2005 @@ -1,27 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.39 --> - <refentry id='function.domnode-set-name'> - <refnamediv> - <refname>DomNode->set_name</refname> - <refpurpose> - Sets name of node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>DomNode->set_name</methodname> - <void/> - </methodsynopsis> - <para> - Sets name of node. - </para> - <para> - See also <function>domnode_node_name</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.6 $ --> +<refentry id='function.domnode-set-name'> + <refnamediv> + <refname>DomNode->set_name</refname> + <refpurpose> + Sets name of node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>DomNode->set_name</methodname> + <void/> + </methodsynopsis> + <para> + Sets name of node. + </para> + <para> + See also <function>domnode_node_name</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-set-namespace.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-set-namespace.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-set-namespace.xml:1.6 phpdoc/en/reference/domxml/functions/DomNode-set-namespace.xml:1.7 --- phpdoc/en/reference/domxml/functions/DomNode-set-namespace.xml:1.6 Mon Nov 1 11:25:05 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-set-namespace.xml Sun Jun 12 00:42:09 2005 @@ -1,32 +1,31 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> - <refentry id='function.domnode-set-namespace'> - <refnamediv> - <refname>DomNode->set_namespace</refname> - <refpurpose> - Sets namespace of a node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>void</type><methodname>DomNode->set_namespace</methodname> - <methodparam><type>string</type><parameter>uri</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>prefix</parameter></methodparam> - </methodsynopsis> - <para> - Sets the namespace of a node to <parameter>uri</parameter>. - If there is already a namespace declaration with the same uri in one of the parent nodes - of the node, the prefix of this is taken, otherwise it will take the one provided - in the optional parameter <parameter>prefix</parameter> or generate a random one. - </para> - <para> - See also <function>domdocument_create_element_ns</function>, and - <function>domnode_add_namespace</function> - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.7 $ --> +<refentry id='function.domnode-set-namespace'> + <refnamediv> + <refname>DomNode->set_namespace</refname> + <refpurpose> + Sets namespace of a node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>void</type><methodname>DomNode->set_namespace</methodname> + <methodparam><type>string</type><parameter>uri</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>prefix</parameter></methodparam> + </methodsynopsis> + <para> + Sets the namespace of a node to <parameter>uri</parameter>. + If there is already a namespace declaration with the same uri in one of the parent nodes + of the node, the prefix of this is taken, otherwise it will take the one provided + in the optional parameter <parameter>prefix</parameter> or generate a random one. + </para> + <para> + See also <function>domdocument_create_element_ns</function>, and + <function>domnode_add_namespace</function> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc/en/reference/domxml/functions/DomNode-unlink-node.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/domxml/functions/DomNode-unlink-node.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-unlink-node.xml:1.5 phpdoc/en/reference/domxml/functions/DomNode-unlink-node.xml:1.6 --- phpdoc/en/reference/domxml/functions/DomNode-unlink-node.xml:1.5 Tue Nov 23 04:22:12 2004 +++ phpdoc/en/reference/domxml/functions/DomNode-unlink-node.xml Sun Jun 12 00:42:09 2005 @@ -1,24 +1,23 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.39 --> - <refentry id='function.domnode-unlink-node'> - <refnamediv> - <refname>DomNode->unlink_node</refname> - <refpurpose> - Deletes node - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>void</type><methodname>DomNode->unlink_node</methodname> - <void/> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.6 $ --> +<refentry id='function.domnode-unlink-node'> + <refnamediv> + <refname>DomNode->unlink_node</refname> + <refpurpose> + Deletes node + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>void</type><methodname>DomNode->unlink_node</methodname> + <void/> + </methodsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: