cvs: phpdoc-ja /reference/domxml/functions DomNode-append-sibling.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-node.xml DomNode-set-content.xml DomNode-set-name.xml
DomNode-unlink-node.xml
| From: | Hideyuki Shimooka | Date: | Sun, 24 Jul 2005 15:07:22 +0000 |
| Subject: | cvs: phpdoc-ja /reference/domxml/functions DomNode-append-sibling.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-node.xml DomNode-set-content.xml DomNode-set-name.xml DomNode-unlink-node.xml |
||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-1075@lists.php.net to get a copy of this message | ||
shimooka Sun Jul 24 11:07:22 2005 EDT
Modified files:
/phpdoc-ja/reference/domxml/functions DomNode-append-sibling.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-node.xml
DomNode-set-content.xml
DomNode-set-name.xml
DomNode-unlink-node.xml
Log:
translation updated
http://cvs.php.net/diff.php/phpdoc-ja/reference/domxml/functions/DomNode-append-sibling.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-append-sibling.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-append-sibling.xml:1.1 phpdoc-ja/reference/domxml/functions/DomNode-append-sibling.xml:1.2 --- phpdoc-ja/reference/domxml/functions/DomNode-append-sibling.xml:1.1 Sat Apr 20 22:11:40 2002 +++ phpdoc-ja/reference/domxml/functions/DomNode-append-sibling.xml Sun Jul 24 11:07:21 2005 @@ -1,5 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> -<refentry id='function.DomNode-append-sibling'> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.8 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-append-sibling'> <refnamediv> <refname>DomNode->append_sibling</refname> <refpurpose> @@ -7,33 +10,36 @@ </refpurpose> </refnamediv> <refsect1> - <title>説æ</title> + &reftitle.description; <methodsynopsis> - <type>object</type><methodname>DomNode->append_sibling</methodname> - <methodparam><type>object</type><parameter>newnode</parameter></methodparam> + <type>domelement</type><methodname>DomNode->append_sibling</methodname> + <methodparam><type>domelement</type><parameter>newnode</parameter></methodparam> </methodsynopsis> <para> - ãã®é¢æ°ã¯ãå å¼ãæ¢åã®ãã¼ãã«è¿½å ãã¾ãã - 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. + ãã®é¢æ°ã¯æ¢åã®ãã¼ãã«å å¼ãã¼ãã追å ãã¾ãã + åãã¼ãã¯ãä¾ãã° + <xref linkend="function.domdocument-create-element" />, + <xref linkend="function.domdocument-create-text-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 a 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. + æ°è¦å å¼ãã¼ãã¯è¿½å ããåã«æåã«è¤è£½ããã¾ãã + ãã®ãããæ°è¦åãã¼ãã¯å®å ¨ã«æ°ããã³ãã¼ã¨ãªãã¾ããããã¯ã + ãã®é¢æ°ã«æ¸¡ããããã¼ãã夿´ãããã¨ãªãã«ä¿®æ£ãããã¨ãå¯è½ã§ãã + 渡ããããã¼ããåãã¼ãèªèº«ã®å ´åãã¾ãã³ãã¼ããã¾ãã®ã§ã + XML æç« ã®å¤§ããªé¨ä½ãç°¡åã«ã³ãã¼ãããã¨ãã§ãã¾ãã + æ»ãå¤ã¯è¿½å ãããåãã¼ãã§ãã + ãã追å ãããåãã¼ãã夿´ããã¤ããã§ããã°ã + è¿ããããã¼ãã使ç¨ããå¿ è¦ãããã¾ãã </para> <para> - This function has been added to provide the behaviour of - <function>DomNode_append_child</function> as it works till PHP 4.2. + ãã®é¢æ°ã¯ <function>domnode_append_child</function> + ã®ã©å®ä½ãæä¾ããããã«è¿½å ãããPHP 4.2 ã¾ã§åä½ãã¾ãã </para> <para> - See also <function>DomNode_append_before</function>. + <function>domnode_append_before</function> + ãåç §ãã ããã </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-ja/reference/domxml/functions/DomNode-insert-before.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-insert-before.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-insert-before.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-insert-before.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-insert-before.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-insert-before.xml Sun Jul 24 11:07:21 2005 @@ -1,40 +1,49 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.38 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-insert-before'> - <refnamediv> - <refname>DomNode->insert_before</refname> - <refpurpose> - æ°è¦ãã¼ããåãã¼ãã¨ãã¦æ¿å ¥ãã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <methodsynopsis> - <type>object</type><methodname>DomNode->insert_before</methodname> - <methodparam><type>object</type><parameter>newnode</parameter></methodparam> - <methodparam><type>object</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> - <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.4 $ --> +<!-- EN-Revision: 1.11 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-insert-before'> + <refnamediv> + <refname>DomNode->insert_before</refname> + <refpurpose> + æ°è¦ãã¼ããåãã¼ãã¨ãã¦æ¿å ¥ãã + </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> + ãã®é¢æ°ã¯æ°è¦ãã¼ã <parameter>newnode</parameter> ããã¼ã + <parameter>refnode</parameter> ã®ç´åã«æ¿å ¥ãã¾ãã + æ»ãå¤ã¯æ¿å ¥ããããã¼ãã§ãã + ãã追å ãããåãã¼ãã夿´ããã¤ããã§ããã°ã + è¿ããããã¼ãã使ç¨ããå¿ è¦ãããã¾ãã + </para> + <para> + (PHP >= 4.3 ã®ã¿) <parameter>newnode</parameter> + ããã§ã«æç« ã®ä¸é¨ã§ããå ´åãæåã«æ¢åã®ã³ã³ããã¹ãããåé¤ããã¾ãã + ãã <parameter>refnode</parameter> ã NULL ã®å ´åã + <parameter>newnode</parameter> ã¯åãã¼ããªã¹ãã®æå¾ã«æ¿å ¥ããã¾ãã + </para> + <para> + <function>domnode_insert_before</function> 㯠+ <function>domnode_append_child</function> ã«é常ã«ä¼¼ã¦ããã + 以ä¸ã®ä¾ã¯ <function>domnode_append_child</function> + ã«ããä¾ã¨åæ§ã®ãã¨ãè¡ããã¨ã示ãã¦ãã¾ãã + </para> + <para> + <example> + <title>åãã¼ãã追å ãã</title> + <programlisting role="php"> <![CDATA[ +<?php include("example.inc"); -if(!$dom = domxml_open_mem($xmlstr)) { +if (!$dom = domxml_open_mem($xmlstr)) { echo "Error while parsing the document\n"; exit; } @@ -47,19 +56,21 @@ $children = $newnode->children(); $attr = $children[1]->set_attribute("align", "left"); -echo "<PRE>"; +echo "<pre>"; $xmlfile = $dom->dump_mem(); echo htmlentities($xmlfile); -echo "</PRE>"; +echo "</pre>"; +?> ]]> - </programlisting> - </example> - </para> - <para> - See also <function>DomNode_append_child</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + <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-ja/reference/domxml/functions/DomNode-is-blank-node.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-is-blank-node.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-is-blank-node.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-is-blank-node.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-is-blank-node.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-is-blank-node.xml Sun Jul 24 11:07:21 2005 @@ -1,24 +1,25 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.6 --> -<!-- EN-Revision: 1.39 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-is-blank-node'> - <refnamediv> - <refname>DomNode->is_blank_node</refname> - <refpurpose> - ãã¼ãã空ãã©ãã調ã¹ã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <methodsynopsis> - <type>bool</type><methodname>DomNode->is_blank_node</methodname> - <void/> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.5 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-is-blank-node'> + <refnamediv> + <refname>DomNode->is_blank_node</refname> + <refpurpose> + ãã¼ãã空ãã©ããã調ã¹ã + </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-ja/reference/domxml/functions/DomNode-last-child.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-last-child.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-last-child.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-last-child.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-last-child.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-last-child.xml Sun Jul 24 11:07:21 2005 @@ -1,29 +1,34 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.38 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-last-child'> - <refnamediv> - <refname>DomNode->last_child</refname> - <refpurpose> - æå¾ã®åãã¼ããè¿ã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <methodsynopsis> - <type>object</type><methodname>DomNode->last_child</methodname> - <void/> - </methodsynopsis> - <para> - Returns the last child of the node. - </para> - <para> - See also <function>DomNode_first_child</function>, - <function>DomNode_next_sibling</function>, - <function>DomNode_previous_sibling</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.10 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-last-child'> + <refnamediv> + <refname>DomNode->last_child</refname> + <refpurpose> + æå¾ã®åãã¼ããè¿ã + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->last_child</methodname> + <void/> + </methodsynopsis> + <para> + æå¾ã®åãã¼ããè¿ãã¾ãã + </para> + <para> + (PHP >= 4.3 ã®ã¿) æå¾ã®åãã¼ããåå¨ããªãå ´åãNULL ãè¿ããã¾ãã + </para> + <para> + <function>domnode_first_child</function>, + <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-ja/reference/domxml/functions/DomNode-next-sibling.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-next-sibling.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-next-sibling.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-next-sibling.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-next-sibling.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-next-sibling.xml Sun Jul 24 11:07:21 2005 @@ -1,33 +1,35 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.38 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-next-sibling'> - <refnamediv> - <refname>DomNode->next_sibling</refname> - <refpurpose> - 次ã®å å¼ãã¼ããè¿ã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <methodsynopsis> - <type>object</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. 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.4 $ --> +<!-- EN-Revision: 1.10 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-next-sibling'> + <refnamediv> + <refname>DomNode->next_sibling</refname> + <refpurpose> + 次ã®å å¼ãã¼ããè¿ã + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->next_sibling</methodname> + <void/> + </methodsynopsis> + <para> + ãã®é¢æ°ã¯ç¾å¨ã®ãã¼ãã®æ¬¡ã®å å¼ãã¼ããè¿ãã¾ãã + 次ã®å å¼ãã¼ããåå¨ããªãå ´åã&false; (< 4.3) ããã㯠null (>= 4.3) + ãè¿ãã¾ãããã®é¢æ°ã使ç¨ãããã¨ã§ã + ä¾ã«ç¤ºãããããã«ãã¼ãã®å ¨ã¦ã®åã³ã¼ããèµ°æ»ããäºãã§ãã¾ãã + </para> + <para> + <example> + <title>åãã¼ããèµ°æ»ãã</title> + <programlisting role="php"> <![CDATA[ <?php include("example.inc"); -if(!$dom = domxml_open_mem($xmlstr)) { +if (!$dom = domxml_open_mem($xmlstr)) { echo "Error while parsing the document\n"; exit; } @@ -36,20 +38,21 @@ $element = $elements[0]; $child = $element->first_child(); -while($child) { +while ($child) { print_r($child); $child = $child->next_sibling(); } ?> ]]> - </programlisting> - </example> - </para> - <para> - See also <function>DomNode_previous_sibling</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + <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-ja/reference/domxml/functions/DomNode-node-name.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-node-name.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-node-name.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-node-name.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-node-name.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-node-name.xml Sun Jul 24 11:07:21 2005 @@ -1,86 +1,87 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.38 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-node-name'> - <refnamediv> - <refname>DomNode->node_name</refname> - <refpurpose> - ãã¼ãåãè¿ã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <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.4 $ --> +<!-- EN-Revision: 1.5 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-node-name'> + <refnamediv> + <refname>DomNode->node_name</refname> + <refpurpose> + ãã¼ãåãè¿ã + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>DomNode->node_name</methodname> + <void/> + </methodsynopsis> + <para> + ãã¼ãåãè¿ãã¾ããååã¯ä»¥ä¸ã®è¡¨ã®éãã + ç°ãªããã¼ãã®åã«å¯¾ãã¦ã¯ç°ãªãæå³ãæã¡ã¾ãã + <table> + <title>å¤ã®æå³</title> + <tgroup cols="2"> + <thead> + <row> + <entry>å</entry> + <entry>æå³</entry> + </row> + </thead> + <tbody> + <row> + <entry>DomAttribute</entry> + <entry>屿§å¤</entry> + </row> + <row> + <entry>DomAttribute</entry> + <entry></entry> + </row> + <row> + <entry>DomCDataSection</entry> + <entry>#cdata ã»ã¯ã·ã§ã³</entry> + </row> + <row> + <entry>DomComment</entry> + <entry>#comment</entry> + </row> + <row> + <entry>DomDocument</entry> + <entry>#document</entry> + </row> + <row> + <entry>DomDocumentType</entry> + <entry>ããã¥ã¡ã³ãåå</entry> + </row> + <row> + <entry>DomElement</entry> + <entry>ã¿ã°å</entry> + </row> + <row> + <entry>DomEntity</entry> + <entry>ã¨ã³ãã£ãã£å</entry> + </row> + <row> + <entry>DomEntityReference</entry> + <entry>ã¨ã³ãã£ãã£åç §å</entry> + </row> + <row> + <entry>DomNotation</entry> + <entry>ãã¼ãã¼ã·ã§ã³å</entry> + </row> + <row> + <entry>DomProcessingInstruction</entry> + <entry>ã¿ã¼ã²ãã</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-ja/reference/domxml/functions/DomNode-node-type.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-node-type.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-node-type.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-node-type.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-node-type.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-node-type.xml Sun Jul 24 11:07:21 2005 @@ -1,25 +1,56 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.38 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-node-type'> - <refnamediv> - <refname>DomNode->node_type</refname> - <refpurpose> - ãã¼ãã®åãè¿ã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <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> - </refsect1> - </refentry> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.6 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-node-type'> + <refnamediv> + <refname>DomNode->node_type</refname> + <refpurpose> + ãã¼ãã®åãè¿ã + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>int</type><methodname>DomNode->node_type</methodname> + <void/> + </methodsynopsis> + <para> + ãã¼ãã®åãè¿ãã¾ããå ¨ã¦ã®åãããåã¯ã + å°å ¥ã®ãã¼ã¸ã«ãã表ã«ä¸è¦§ããã¦ãã¾ãã + </para> + <example> + <title></title> + <programlisting role="php"> +<![CDATA[ +<?php + +include 'example.inc'; + +$dom = domxml_open_mem($xmlstr); + +$chapter = $dom->document_element(); + +// ç« ã«å«ã¾ããè¦ç´ ãè¦ã¦ã¿ãã +foreach($chapter->child_nodes() as $node) { + if ($node->node_type() == XML_ELEMENT_NODE) { + echo $node->node_name() . "\n"; + } +} + +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +title +para +]]> + </screen> + </example> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-ja/reference/domxml/functions/DomNode-node-value.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-node-value.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-node-value.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-node-value.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-node-value.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-node-value.xml Sun Jul 24 11:07:21 2005 @@ -1,86 +1,87 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.38 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-node-value'> - <refnamediv> - <refname>DomNode->node_value</refname> - <refpurpose> - ãã¼ãã®å¤ãè¿ã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <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.4 $ --> +<!-- EN-Revision: 1.5 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-node-value'> + <refnamediv> + <refname>DomNode->node_value</refname> + <refpurpose> + ãã¼ãã®å¤ãè¿ã + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>DomNode->node_value</methodname> + <void/> + </methodsynopsis> + <para> + ãã¼ãã®å¤ãè¿ãã¾ããå¤ã¯ä»¥ä¸ã®è¡¨ã®éãã + ç°ãªããã¼ãã®åã«å¯¾ãã¦ã¯ç°ãªãæå³ãæã¡ã¾ãã + <table> + <title>å¤ã®æå³</title> + <tgroup cols="2"> + <thead> + <row> + <entry>å</entry> + <entry>æå³</entry> + </row> + </thead> + <tbody> + <row> + <entry>DomAttribute</entry> + <entry>屿§å¤</entry> + </row> + <row> + <entry>DomAttribute</entry> + <entry></entry> + </row> + <row> + <entry>DomCDataSection</entry> + <entry>å 容</entry> + </row> + <row> + <entry>DomComment</entry> + <entry>ã³ã¡ã³ãã®å 容</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>ã¿ã¼ã²ãã以å¤ã®å ¨ã¦ã®å 容</entry> + </row> + <row> + <entry>DomText</entry> + <entry>ããã¹ãã®å 容</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-ja/reference/domxml/functions/DomNode-owner-document.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-owner-document.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-owner-document.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-owner-document.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-owner-document.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-owner-document.xml Sun Jul 24 11:07:21 2005 @@ -1,27 +1,28 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.38 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-owner-document'> - <refnamediv> - <refname>DomNode->owner_document</refname> - <refpurpose> - ãã®ãã¼ããå±ããããã¥ã¡ã³ããè¿ã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <methodsynopsis> - <type>object</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.4 $ --> +<!-- EN-Revision: 1.7 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-owner-document'> + <refnamediv> + <refname>DomNode->owner_document</refname> + <refpurpose> + ãã®ãã¼ããå±ããæç« ãè¿ã + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domdocument</type><methodname>DomNode->owner_document</methodname> + <void/> + </methodsynopsis> + <para> + ãã®é¢æ°ã¯ç¾å¨ã®ãã¼ããå±ãã¦ããæç« ãè¿ãã¾ãã + </para> + <para> + 以ä¸ã®ä¾ã¯ 2 ã¤ã®çããåãã¼ããªã¹ãã使ãã¾ãã + <example> + <title>ãã¼ãã®æç« ãæ¤åºãã</title> + <programlisting role="php"> <![CDATA[ <?php $doc = domxml_new_doc("1.0"); @@ -35,14 +36,15 @@ print_r($children); ?> ]]> - </programlisting> - </example> - </para> - <para> - See also <function>DomNode_insert_before</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + <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-ja/reference/domxml/functions/DomNode-parent-node.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-parent-node.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-parent-node.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-parent-node.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-parent-node.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-parent-node.xml Sun Jul 24 11:07:21 2005 @@ -1,27 +1,31 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.38 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-parent-node'> - <refnamediv> - <refname>DomNode->parent_node</refname> - <refpurpose> - 親ãã¼ããè¿ã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <methodsynopsis> - <type>object</type><methodname>DomNode->parent_node</methodname> - <void/> - </methodsynopsis> - <para> - This function returns the parent node. - </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.4 $ --> +<!-- EN-Revision: 1.7 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-parent-node'> + <refnamediv> + <refname>DomNode->parent_node</refname> + <refpurpose> + 親ãã¼ããè¿ã + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domnode</type><methodname>DomNode->parent_node</methodname> + <void/> + </methodsynopsis> + <para> + ãã®é¢æ°ã¯è¦ªãã¼ããè¿ãã¾ãã + </para> + <para> + (PHP >= 4.3 ã®ã¿) 親ãã¼ããåå¨ããªãå ´åãNULL ãè¿ããã¾ãã + </para> + <para> + 以ä¸ã®ä¾ã¯ 2 ã¤ã®çããåãã¼ããªã¹ãã使ãã¾ãã + <example> + <title>ãã¼ãã®æç« ãæ¤åºãã</title> + <programlisting role="php"> <![CDATA[ <?php $doc = domxml_new_doc("1.0"); @@ -35,11 +39,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-ja/reference/domxml/functions/DomNode-prefix.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-prefix.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-prefix.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-prefix.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-prefix.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-prefix.xml Sun Jul 24 11:07:21 2005 @@ -1,24 +1,25 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.39 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-prefix'> - <refnamediv> - <refname>DomNode->prefix</refname> - <refpurpose> - ãã¼ãã®ååç©ºéæ¥é è¾ãè¿ã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <methodsynopsis> - <type>string</type><methodname>DomNode->prefix</methodname> - <void/> - </methodsynopsis> - <para> - Returns the name space prefix of the node. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.5 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-prefix'> + <refnamediv> + <refname>DomNode->prefix</refname> + <refpurpose> + ãã¼ãã®ååç©ºéæ¥é è¾ãè¿ã + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>DomNode->prefix</methodname> + <void/> + </methodsynopsis> + <para> + ãã¼ãã®ååç©ºéæ¥é è¾ãè¿ãã¾ãã + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-ja/reference/domxml/functions/DomNode-previous-sibling.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-previous-sibling.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-previous-sibling.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-previous-sibling.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-previous-sibling.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-previous-sibling.xml Sun Jul 24 11:07:21 2005 @@ -1,27 +1,32 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.38 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-previous-sibling'> - <refnamediv> - <refname>DomNode->previous_sibling</refname> - <refpurpose> - åã®å å¼ãã¼ããè¿ã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <methodsynopsis> - <type>object</type><methodname>DomNode->previous_sibling</methodname> - <void/> - </methodsynopsis> - <para> - This function returns the previous sibling of the current node. - </para> - <para> - See also <function>DomNode_next_sibling</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.9 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-previous-sibling'> + <refnamediv> + <refname>DomNode->previous_sibling</refname> + <refpurpose> + åã®å å¼ãã¼ããè¿ã + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->previous_sibling</methodname> + <void/> + </methodsynopsis> + <para> + ãã®é¢æ°ã¯ç¾å¨ã®ãã¼ãã®åã®å å¼ãã¼ããè¿ãã¾ãã + åã®å å¼ãã¼ããåå¨ããªãå ´åã&false; (< 4.3) ããã㯠&null; + (>= 4.3) ãè¿ãã¾ãããã®é¢æ°ã使ç¨ãããã¨ã§ã + ä¾ã«ç¤ºãããããã«ãã¼ãã®å ¨ã¦ã®åã³ã¼ããèµ°æ»ããäºãã§ãã¾ãã + </para> + <para> + <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-ja/reference/domxml/functions/DomNode-remove-child.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-remove-child.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-remove-child.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-remove-child.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-remove-child.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-remove-child.xml Sun Jul 24 11:07:21 2005 @@ -1,33 +1,35 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.38 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-remove-child'> - <refnamediv> - <refname>DomNode->remove_child</refname> - <refpurpose> - åãã¼ãã®ãªã¹ãããåãã¼ããåé¤ãã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <methodsynopsis> - <type>object</type><methodname>DomNode->remove_child</methodname> - <methodparam><type>object</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.4 $ --> +<!-- EN-Revision: 1.8 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-remove-child'> + <refnamediv> + <refname>DomNode->remove_child</refname> + <refpurpose> + åãã¼ãã®ãªã¹ãããåãã¼ããåé¤ãã + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domtext</type><methodname>DomNode->remove_child</methodname> + <methodparam><type>domtext</type><parameter>oldchild</parameter></methodparam> + </methodsynopsis> + <para> + ãã®é¢æ°ã¯ãåãã¼ãã®ãªã¹ãããåãã¼ããåé¤ãã¾ãã + ããåãã¼ããåé¤ã§ããªãã£ãããããã¯åãã¼ãã§ã¯ãªãå ´åããã®é¢æ°ã¯ + &false; ãè¿ãã¾ããåãã¼ããåé¤ã§ããå ´åã + ãã®é¢æ°ã¯å¤ãåãã¼ããè¿ãã¾ãã + </para> + <para> + <example> + <title>åãã¼ããåé¤ãã</title> + <programlisting role="php"> <![CDATA[ <?php include("example.inc"); -if(!$dom = domxml_open_mem($xmlstr)) { +if (!$dom = domxml_open_mem($xmlstr)) { echo "Error while parsing the document\n"; exit; } @@ -43,14 +45,15 @@ echo "</PRE>"; ?> ]]> - </programlisting> - </example> - </para> - <para> - See also <function>DomNode_append_child</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + <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-ja/reference/domxml/functions/DomNode-replace-node.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-replace-node.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-replace-node.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-replace-node.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-replace-node.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-replace-node.xml Sun Jul 24 11:07:21 2005 @@ -1,24 +1,41 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.6 --> -<!-- EN-Revision: 1.39 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-replace-node'> - <refnamediv> - <refname>DomNode->replace_node</refname> - <refpurpose> - ãã¼ããç½®æãã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <methodsynopsis> - <type>object</type><methodname>DomNode->replace_node</methodname> - <void/> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.13 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-replace-node'> + <refnamediv> + <refname>DomNode->replace_node</refname> + <refpurpose> + ãã¼ããç½®æãã + </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) ãã®é¢æ°ã¯æ¢åã®ãã¼ããæ¸¡ãããæ°è¦ãã¼ãã«ç½®æãã¾ãã + æç« ã«ãã§ã«åå¨ãã¦ãããã¼ããäºåº¦ç®ã«æ¿å ¥ãããªãããã«ããããã + <parameter>newnode</parameter> ã¯ç½®æåã«ã³ãã¼ããã¾ãã + ãã®åä½ã¯ãç½®æåã«ãã¼ãã«å¯¾ãã¦è¡ãå ¨ã¦ã®ä¿®æ£ãããã㯠+ <function>domnode_first_child</function>, + <function>domnode_child_nodes</function> + ãªã©ã®é¢æ°ãç¨ããå¾ã«æ¿å ¥ããããã¼ããååå¾ããããã¨ãå¼·å¶ãã¾ãã + </para> + <para> + (PHP 4.3) ãã®é¢æ°ã¯æ¢åãã¼ããæ¸¡ãããæ°è¦ãã¼ãã«ç½®æãã¾ãã + ãã¯ãã³ãã¼ã¯ããã¾ããããã <parameter>newnode</parameter> + ãæç« ã«æ¿å ¥ããã¦ããå ´åãæåã«æ¢åã®ã³ã³ããã¹ãããåé¤ããã¾ãã + ããç½®æãæåããå ´åãå¤ããã¼ããè¿ããã¾ãã + </para> + <para> + <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-ja/reference/domxml/functions/DomNode-set-content.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-set-content.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-set-content.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-set-content.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-set-content.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-set-content.xml Sun Jul 24 11:07:21 2005 @@ -1,24 +1,25 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.39 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-set-content'> - <refnamediv> - <refname>DomNode->set_content</refname> - <refpurpose> - ãã¼ãã®ã³ã³ãã³ããè¨å®ãã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <methodsynopsis> - <type>bool</type><methodname>DomNode->set_content</methodname> - <void/> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.5 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-set-content'> + <refnamediv> + <refname>DomNode->set_content</refname> + <refpurpose> + ãã¼ãã®å 容ãè¨å®ãã + </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-ja/reference/domxml/functions/DomNode-set-name.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-set-name.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-set-name.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-set-name.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-set-name.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-set-name.xml Sun Jul 24 11:07:21 2005 @@ -1,27 +1,29 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.6 --> -<!-- EN-Revision: 1.39 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-set-name'> - <refnamediv> - <refname>DomNode->set_name</refname> - <refpurpose> - ãã¼ãã®ååãè¨å®ãã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <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.4 $ --> +<!-- EN-Revision: 1.6 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-set-name'> + <refnamediv> + <refname>DomNode->set_name</refname> + <refpurpose> + ãã¼ãåãè¨å®ãã + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>DomNode->set_name</methodname> + <void/> + </methodsynopsis> + <para> + ãã¼ãåãè¨å®ãã¾ãã + </para> + <para> + <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-ja/reference/domxml/functions/DomNode-unlink-node.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-unlink-node.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-unlink-node.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-unlink-node.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-unlink-node.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-unlink-node.xml Sun Jul 24 11:07:21 2005 @@ -1,24 +1,25 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.39 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-unlink-node'> - <refnamediv> - <refname>DomNode->unlink_node</refname> - <refpurpose> - ãã¼ããåé¤ãã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <methodsynopsis> - <type>object</type><methodname>DomNode->unlink_node</methodname> - <void/> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.6 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-unlink-node'> + <refnamediv> + <refname>DomNode->unlink_node</refname> + <refpurpose> + ãã¼ããåé¤ãã + </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-ja/reference/domxml/functions/DomNode-append-sibling.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-append-sibling.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-append-sibling.xml:1.1 phpdoc-ja/reference/domxml/functions/DomNode-append-sibling.xml:1.2 --- phpdoc-ja/reference/domxml/functions/DomNode-append-sibling.xml:1.1 Sat Apr 20 22:11:40 2002 +++ phpdoc-ja/reference/domxml/functions/DomNode-append-sibling.xml Sun Jul 24 11:07:21 2005 @@ -1,5 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> -<refentry id='function.DomNode-append-sibling'> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.8 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-append-sibling'> <refnamediv> <refname>DomNode->append_sibling</refname> <refpurpose> @@ -7,33 +10,36 @@ </refpurpose> </refnamediv> <refsect1> - <title>説æ</title> + &reftitle.description; <methodsynopsis> - <type>object</type><methodname>DomNode->append_sibling</methodname> - <methodparam><type>object</type><parameter>newnode</parameter></methodparam> + <type>domelement</type><methodname>DomNode->append_sibling</methodname> + <methodparam><type>domelement</type><parameter>newnode</parameter></methodparam> </methodsynopsis> <para> - ãã®é¢æ°ã¯ãå å¼ãæ¢åã®ãã¼ãã«è¿½å ãã¾ãã - 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. + ãã®é¢æ°ã¯æ¢åã®ãã¼ãã«å å¼ãã¼ãã追å ãã¾ãã + åãã¼ãã¯ãä¾ãã° + <xref linkend="function.domdocument-create-element" />, + <xref linkend="function.domdocument-create-text-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 a 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. + æ°è¦å å¼ãã¼ãã¯è¿½å ããåã«æåã«è¤è£½ããã¾ãã + ãã®ãããæ°è¦åãã¼ãã¯å®å ¨ã«æ°ããã³ãã¼ã¨ãªãã¾ããããã¯ã + ãã®é¢æ°ã«æ¸¡ããããã¼ãã夿´ãããã¨ãªãã«ä¿®æ£ãããã¨ãå¯è½ã§ãã + 渡ããããã¼ããåãã¼ãèªèº«ã®å ´åãã¾ãã³ãã¼ããã¾ãã®ã§ã + XML æç« ã®å¤§ããªé¨ä½ãç°¡åã«ã³ãã¼ãããã¨ãã§ãã¾ãã + æ»ãå¤ã¯è¿½å ãããåãã¼ãã§ãã + ãã追å ãããåãã¼ãã夿´ããã¤ããã§ããã°ã + è¿ããããã¼ãã使ç¨ããå¿ è¦ãããã¾ãã </para> <para> - This function has been added to provide the behaviour of - <function>DomNode_append_child</function> as it works till PHP 4.2. + ãã®é¢æ°ã¯ <function>domnode_append_child</function> + ã®ã©å®ä½ãæä¾ããããã«è¿½å ãããPHP 4.2 ã¾ã§åä½ãã¾ãã </para> <para> - See also <function>DomNode_append_before</function>. + <function>domnode_append_before</function> + ãåç §ãã ããã </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-ja/reference/domxml/functions/DomNode-insert-before.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-insert-before.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-insert-before.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-insert-before.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-insert-before.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-insert-before.xml Sun Jul 24 11:07:21 2005 @@ -1,40 +1,49 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.38 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-insert-before'> - <refnamediv> - <refname>DomNode->insert_before</refname> - <refpurpose> - æ°è¦ãã¼ããåãã¼ãã¨ãã¦æ¿å ¥ãã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <methodsynopsis> - <type>object</type><methodname>DomNode->insert_before</methodname> - <methodparam><type>object</type><parameter>newnode</parameter></methodparam> - <methodparam><type>object</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> - <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.4 $ --> +<!-- EN-Revision: 1.11 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-insert-before'> + <refnamediv> + <refname>DomNode->insert_before</refname> + <refpurpose> + æ°è¦ãã¼ããåãã¼ãã¨ãã¦æ¿å ¥ãã + </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> + ãã®é¢æ°ã¯æ°è¦ãã¼ã <parameter>newnode</parameter> ããã¼ã + <parameter>refnode</parameter> ã®ç´åã«æ¿å ¥ãã¾ãã + æ»ãå¤ã¯æ¿å ¥ããããã¼ãã§ãã + ãã追å ãããåãã¼ãã夿´ããã¤ããã§ããã°ã + è¿ããããã¼ãã使ç¨ããå¿ è¦ãããã¾ãã + </para> + <para> + (PHP >= 4.3 ã®ã¿) <parameter>newnode</parameter> + ããã§ã«æç« ã®ä¸é¨ã§ããå ´åãæåã«æ¢åã®ã³ã³ããã¹ãããåé¤ããã¾ãã + ãã <parameter>refnode</parameter> ã NULL ã®å ´åã + <parameter>newnode</parameter> ã¯åãã¼ããªã¹ãã®æå¾ã«æ¿å ¥ããã¾ãã + </para> + <para> + <function>domnode_insert_before</function> 㯠+ <function>domnode_append_child</function> ã«é常ã«ä¼¼ã¦ããã + 以ä¸ã®ä¾ã¯ <function>domnode_append_child</function> + ã«ããä¾ã¨åæ§ã®ãã¨ãè¡ããã¨ã示ãã¦ãã¾ãã + </para> + <para> + <example> + <title>åãã¼ãã追å ãã</title> + <programlisting role="php"> <![CDATA[ +<?php include("example.inc"); -if(!$dom = domxml_open_mem($xmlstr)) { +if (!$dom = domxml_open_mem($xmlstr)) { echo "Error while parsing the document\n"; exit; } @@ -47,19 +56,21 @@ $children = $newnode->children(); $attr = $children[1]->set_attribute("align", "left"); -echo "<PRE>"; +echo "<pre>"; $xmlfile = $dom->dump_mem(); echo htmlentities($xmlfile); -echo "</PRE>"; +echo "</pre>"; +?> ]]> - </programlisting> - </example> - </para> - <para> - See also <function>DomNode_append_child</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + <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-ja/reference/domxml/functions/DomNode-is-blank-node.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-is-blank-node.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-is-blank-node.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-is-blank-node.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-is-blank-node.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-is-blank-node.xml Sun Jul 24 11:07:21 2005 @@ -1,24 +1,25 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.6 --> -<!-- EN-Revision: 1.39 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-is-blank-node'> - <refnamediv> - <refname>DomNode->is_blank_node</refname> - <refpurpose> - ãã¼ãã空ãã©ãã調ã¹ã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <methodsynopsis> - <type>bool</type><methodname>DomNode->is_blank_node</methodname> - <void/> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.5 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-is-blank-node'> + <refnamediv> + <refname>DomNode->is_blank_node</refname> + <refpurpose> + ãã¼ãã空ãã©ããã調ã¹ã + </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-ja/reference/domxml/functions/DomNode-last-child.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-last-child.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-last-child.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-last-child.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-last-child.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-last-child.xml Sun Jul 24 11:07:21 2005 @@ -1,29 +1,34 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.38 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-last-child'> - <refnamediv> - <refname>DomNode->last_child</refname> - <refpurpose> - æå¾ã®åãã¼ããè¿ã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <methodsynopsis> - <type>object</type><methodname>DomNode->last_child</methodname> - <void/> - </methodsynopsis> - <para> - Returns the last child of the node. - </para> - <para> - See also <function>DomNode_first_child</function>, - <function>DomNode_next_sibling</function>, - <function>DomNode_previous_sibling</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.10 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-last-child'> + <refnamediv> + <refname>DomNode->last_child</refname> + <refpurpose> + æå¾ã®åãã¼ããè¿ã + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->last_child</methodname> + <void/> + </methodsynopsis> + <para> + æå¾ã®åãã¼ããè¿ãã¾ãã + </para> + <para> + (PHP >= 4.3 ã®ã¿) æå¾ã®åãã¼ããåå¨ããªãå ´åãNULL ãè¿ããã¾ãã + </para> + <para> + <function>domnode_first_child</function>, + <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-ja/reference/domxml/functions/DomNode-next-sibling.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-next-sibling.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-next-sibling.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-next-sibling.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-next-sibling.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-next-sibling.xml Sun Jul 24 11:07:21 2005 @@ -1,33 +1,35 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.38 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-next-sibling'> - <refnamediv> - <refname>DomNode->next_sibling</refname> - <refpurpose> - 次ã®å å¼ãã¼ããè¿ã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <methodsynopsis> - <type>object</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. 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.4 $ --> +<!-- EN-Revision: 1.10 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-next-sibling'> + <refnamediv> + <refname>DomNode->next_sibling</refname> + <refpurpose> + 次ã®å å¼ãã¼ããè¿ã + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->next_sibling</methodname> + <void/> + </methodsynopsis> + <para> + ãã®é¢æ°ã¯ç¾å¨ã®ãã¼ãã®æ¬¡ã®å å¼ãã¼ããè¿ãã¾ãã + 次ã®å å¼ãã¼ããåå¨ããªãå ´åã&false; (< 4.3) ããã㯠null (>= 4.3) + ãè¿ãã¾ãããã®é¢æ°ã使ç¨ãããã¨ã§ã + ä¾ã«ç¤ºãããããã«ãã¼ãã®å ¨ã¦ã®åã³ã¼ããèµ°æ»ããäºãã§ãã¾ãã + </para> + <para> + <example> + <title>åãã¼ããèµ°æ»ãã</title> + <programlisting role="php"> <![CDATA[ <?php include("example.inc"); -if(!$dom = domxml_open_mem($xmlstr)) { +if (!$dom = domxml_open_mem($xmlstr)) { echo "Error while parsing the document\n"; exit; } @@ -36,20 +38,21 @@ $element = $elements[0]; $child = $element->first_child(); -while($child) { +while ($child) { print_r($child); $child = $child->next_sibling(); } ?> ]]> - </programlisting> - </example> - </para> - <para> - See also <function>DomNode_previous_sibling</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + <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-ja/reference/domxml/functions/DomNode-node-name.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-node-name.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-node-name.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-node-name.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-node-name.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-node-name.xml Sun Jul 24 11:07:21 2005 @@ -1,86 +1,87 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.38 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-node-name'> - <refnamediv> - <refname>DomNode->node_name</refname> - <refpurpose> - ãã¼ãåãè¿ã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <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.4 $ --> +<!-- EN-Revision: 1.5 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-node-name'> + <refnamediv> + <refname>DomNode->node_name</refname> + <refpurpose> + ãã¼ãåãè¿ã + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>DomNode->node_name</methodname> + <void/> + </methodsynopsis> + <para> + ãã¼ãåãè¿ãã¾ããååã¯ä»¥ä¸ã®è¡¨ã®éãã + ç°ãªããã¼ãã®åã«å¯¾ãã¦ã¯ç°ãªãæå³ãæã¡ã¾ãã + <table> + <title>å¤ã®æå³</title> + <tgroup cols="2"> + <thead> + <row> + <entry>å</entry> + <entry>æå³</entry> + </row> + </thead> + <tbody> + <row> + <entry>DomAttribute</entry> + <entry>屿§å¤</entry> + </row> + <row> + <entry>DomAttribute</entry> + <entry></entry> + </row> + <row> + <entry>DomCDataSection</entry> + <entry>#cdata ã»ã¯ã·ã§ã³</entry> + </row> + <row> + <entry>DomComment</entry> + <entry>#comment</entry> + </row> + <row> + <entry>DomDocument</entry> + <entry>#document</entry> + </row> + <row> + <entry>DomDocumentType</entry> + <entry>ããã¥ã¡ã³ãåå</entry> + </row> + <row> + <entry>DomElement</entry> + <entry>ã¿ã°å</entry> + </row> + <row> + <entry>DomEntity</entry> + <entry>ã¨ã³ãã£ãã£å</entry> + </row> + <row> + <entry>DomEntityReference</entry> + <entry>ã¨ã³ãã£ãã£åç §å</entry> + </row> + <row> + <entry>DomNotation</entry> + <entry>ãã¼ãã¼ã·ã§ã³å</entry> + </row> + <row> + <entry>DomProcessingInstruction</entry> + <entry>ã¿ã¼ã²ãã</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-ja/reference/domxml/functions/DomNode-node-type.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-node-type.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-node-type.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-node-type.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-node-type.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-node-type.xml Sun Jul 24 11:07:21 2005 @@ -1,25 +1,56 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.38 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-node-type'> - <refnamediv> - <refname>DomNode->node_type</refname> - <refpurpose> - ãã¼ãã®åãè¿ã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <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> - </refsect1> - </refentry> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.6 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-node-type'> + <refnamediv> + <refname>DomNode->node_type</refname> + <refpurpose> + ãã¼ãã®åãè¿ã + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>int</type><methodname>DomNode->node_type</methodname> + <void/> + </methodsynopsis> + <para> + ãã¼ãã®åãè¿ãã¾ããå ¨ã¦ã®åãããåã¯ã + å°å ¥ã®ãã¼ã¸ã«ãã表ã«ä¸è¦§ããã¦ãã¾ãã + </para> + <example> + <title></title> + <programlisting role="php"> +<![CDATA[ +<?php + +include 'example.inc'; + +$dom = domxml_open_mem($xmlstr); + +$chapter = $dom->document_element(); + +// ç« ã«å«ã¾ããè¦ç´ ãè¦ã¦ã¿ãã +foreach($chapter->child_nodes() as $node) { + if ($node->node_type() == XML_ELEMENT_NODE) { + echo $node->node_name() . "\n"; + } +} + +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +title +para +]]> + </screen> + </example> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-ja/reference/domxml/functions/DomNode-node-value.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-node-value.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-node-value.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-node-value.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-node-value.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-node-value.xml Sun Jul 24 11:07:21 2005 @@ -1,86 +1,87 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.38 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-node-value'> - <refnamediv> - <refname>DomNode->node_value</refname> - <refpurpose> - ãã¼ãã®å¤ãè¿ã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <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.4 $ --> +<!-- EN-Revision: 1.5 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-node-value'> + <refnamediv> + <refname>DomNode->node_value</refname> + <refpurpose> + ãã¼ãã®å¤ãè¿ã + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>DomNode->node_value</methodname> + <void/> + </methodsynopsis> + <para> + ãã¼ãã®å¤ãè¿ãã¾ããå¤ã¯ä»¥ä¸ã®è¡¨ã®éãã + ç°ãªããã¼ãã®åã«å¯¾ãã¦ã¯ç°ãªãæå³ãæã¡ã¾ãã + <table> + <title>å¤ã®æå³</title> + <tgroup cols="2"> + <thead> + <row> + <entry>å</entry> + <entry>æå³</entry> + </row> + </thead> + <tbody> + <row> + <entry>DomAttribute</entry> + <entry>屿§å¤</entry> + </row> + <row> + <entry>DomAttribute</entry> + <entry></entry> + </row> + <row> + <entry>DomCDataSection</entry> + <entry>å 容</entry> + </row> + <row> + <entry>DomComment</entry> + <entry>ã³ã¡ã³ãã®å 容</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>ã¿ã¼ã²ãã以å¤ã®å ¨ã¦ã®å 容</entry> + </row> + <row> + <entry>DomText</entry> + <entry>ããã¹ãã®å 容</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-ja/reference/domxml/functions/DomNode-owner-document.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-owner-document.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-owner-document.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-owner-document.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-owner-document.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-owner-document.xml Sun Jul 24 11:07:21 2005 @@ -1,27 +1,28 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.38 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-owner-document'> - <refnamediv> - <refname>DomNode->owner_document</refname> - <refpurpose> - ãã®ãã¼ããå±ããããã¥ã¡ã³ããè¿ã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <methodsynopsis> - <type>object</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.4 $ --> +<!-- EN-Revision: 1.7 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-owner-document'> + <refnamediv> + <refname>DomNode->owner_document</refname> + <refpurpose> + ãã®ãã¼ããå±ããæç« ãè¿ã + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domdocument</type><methodname>DomNode->owner_document</methodname> + <void/> + </methodsynopsis> + <para> + ãã®é¢æ°ã¯ç¾å¨ã®ãã¼ããå±ãã¦ããæç« ãè¿ãã¾ãã + </para> + <para> + 以ä¸ã®ä¾ã¯ 2 ã¤ã®çããåãã¼ããªã¹ãã使ãã¾ãã + <example> + <title>ãã¼ãã®æç« ãæ¤åºãã</title> + <programlisting role="php"> <![CDATA[ <?php $doc = domxml_new_doc("1.0"); @@ -35,14 +36,15 @@ print_r($children); ?> ]]> - </programlisting> - </example> - </para> - <para> - See also <function>DomNode_insert_before</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + <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-ja/reference/domxml/functions/DomNode-parent-node.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-parent-node.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-parent-node.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-parent-node.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-parent-node.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-parent-node.xml Sun Jul 24 11:07:21 2005 @@ -1,27 +1,31 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.38 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-parent-node'> - <refnamediv> - <refname>DomNode->parent_node</refname> - <refpurpose> - 親ãã¼ããè¿ã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <methodsynopsis> - <type>object</type><methodname>DomNode->parent_node</methodname> - <void/> - </methodsynopsis> - <para> - This function returns the parent node. - </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.4 $ --> +<!-- EN-Revision: 1.7 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-parent-node'> + <refnamediv> + <refname>DomNode->parent_node</refname> + <refpurpose> + 親ãã¼ããè¿ã + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domnode</type><methodname>DomNode->parent_node</methodname> + <void/> + </methodsynopsis> + <para> + ãã®é¢æ°ã¯è¦ªãã¼ããè¿ãã¾ãã + </para> + <para> + (PHP >= 4.3 ã®ã¿) 親ãã¼ããåå¨ããªãå ´åãNULL ãè¿ããã¾ãã + </para> + <para> + 以ä¸ã®ä¾ã¯ 2 ã¤ã®çããåãã¼ããªã¹ãã使ãã¾ãã + <example> + <title>ãã¼ãã®æç« ãæ¤åºãã</title> + <programlisting role="php"> <![CDATA[ <?php $doc = domxml_new_doc("1.0"); @@ -35,11 +39,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-ja/reference/domxml/functions/DomNode-prefix.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-prefix.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-prefix.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-prefix.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-prefix.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-prefix.xml Sun Jul 24 11:07:21 2005 @@ -1,24 +1,25 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.39 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-prefix'> - <refnamediv> - <refname>DomNode->prefix</refname> - <refpurpose> - ãã¼ãã®ååç©ºéæ¥é è¾ãè¿ã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <methodsynopsis> - <type>string</type><methodname>DomNode->prefix</methodname> - <void/> - </methodsynopsis> - <para> - Returns the name space prefix of the node. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.5 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-prefix'> + <refnamediv> + <refname>DomNode->prefix</refname> + <refpurpose> + ãã¼ãã®ååç©ºéæ¥é è¾ãè¿ã + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>DomNode->prefix</methodname> + <void/> + </methodsynopsis> + <para> + ãã¼ãã®ååç©ºéæ¥é è¾ãè¿ãã¾ãã + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-ja/reference/domxml/functions/DomNode-previous-sibling.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-previous-sibling.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-previous-sibling.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-previous-sibling.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-previous-sibling.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-previous-sibling.xml Sun Jul 24 11:07:21 2005 @@ -1,27 +1,32 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.38 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-previous-sibling'> - <refnamediv> - <refname>DomNode->previous_sibling</refname> - <refpurpose> - åã®å å¼ãã¼ããè¿ã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <methodsynopsis> - <type>object</type><methodname>DomNode->previous_sibling</methodname> - <void/> - </methodsynopsis> - <para> - This function returns the previous sibling of the current node. - </para> - <para> - See also <function>DomNode_next_sibling</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.9 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-previous-sibling'> + <refnamediv> + <refname>DomNode->previous_sibling</refname> + <refpurpose> + åã®å å¼ãã¼ããè¿ã + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->previous_sibling</methodname> + <void/> + </methodsynopsis> + <para> + ãã®é¢æ°ã¯ç¾å¨ã®ãã¼ãã®åã®å å¼ãã¼ããè¿ãã¾ãã + åã®å å¼ãã¼ããåå¨ããªãå ´åã&false; (< 4.3) ããã㯠&null; + (>= 4.3) ãè¿ãã¾ãããã®é¢æ°ã使ç¨ãããã¨ã§ã + ä¾ã«ç¤ºãããããã«ãã¼ãã®å ¨ã¦ã®åã³ã¼ããèµ°æ»ããäºãã§ãã¾ãã + </para> + <para> + <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-ja/reference/domxml/functions/DomNode-remove-child.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-remove-child.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-remove-child.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-remove-child.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-remove-child.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-remove-child.xml Sun Jul 24 11:07:21 2005 @@ -1,33 +1,35 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.38 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-remove-child'> - <refnamediv> - <refname>DomNode->remove_child</refname> - <refpurpose> - åãã¼ãã®ãªã¹ãããåãã¼ããåé¤ãã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <methodsynopsis> - <type>object</type><methodname>DomNode->remove_child</methodname> - <methodparam><type>object</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.4 $ --> +<!-- EN-Revision: 1.8 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-remove-child'> + <refnamediv> + <refname>DomNode->remove_child</refname> + <refpurpose> + åãã¼ãã®ãªã¹ãããåãã¼ããåé¤ãã + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domtext</type><methodname>DomNode->remove_child</methodname> + <methodparam><type>domtext</type><parameter>oldchild</parameter></methodparam> + </methodsynopsis> + <para> + ãã®é¢æ°ã¯ãåãã¼ãã®ãªã¹ãããåãã¼ããåé¤ãã¾ãã + ããåãã¼ããåé¤ã§ããªãã£ãããããã¯åãã¼ãã§ã¯ãªãå ´åããã®é¢æ°ã¯ + &false; ãè¿ãã¾ããåãã¼ããåé¤ã§ããå ´åã + ãã®é¢æ°ã¯å¤ãåãã¼ããè¿ãã¾ãã + </para> + <para> + <example> + <title>åãã¼ããåé¤ãã</title> + <programlisting role="php"> <![CDATA[ <?php include("example.inc"); -if(!$dom = domxml_open_mem($xmlstr)) { +if (!$dom = domxml_open_mem($xmlstr)) { echo "Error while parsing the document\n"; exit; } @@ -43,14 +45,15 @@ echo "</PRE>"; ?> ]]> - </programlisting> - </example> - </para> - <para> - See also <function>DomNode_append_child</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + <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-ja/reference/domxml/functions/DomNode-replace-node.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-replace-node.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-replace-node.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-replace-node.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-replace-node.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-replace-node.xml Sun Jul 24 11:07:21 2005 @@ -1,24 +1,41 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.6 --> -<!-- EN-Revision: 1.39 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-replace-node'> - <refnamediv> - <refname>DomNode->replace_node</refname> - <refpurpose> - ãã¼ããç½®æãã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <methodsynopsis> - <type>object</type><methodname>DomNode->replace_node</methodname> - <void/> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.13 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-replace-node'> + <refnamediv> + <refname>DomNode->replace_node</refname> + <refpurpose> + ãã¼ããç½®æãã + </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) ãã®é¢æ°ã¯æ¢åã®ãã¼ããæ¸¡ãããæ°è¦ãã¼ãã«ç½®æãã¾ãã + æç« ã«ãã§ã«åå¨ãã¦ãããã¼ããäºåº¦ç®ã«æ¿å ¥ãããªãããã«ããããã + <parameter>newnode</parameter> ã¯ç½®æåã«ã³ãã¼ããã¾ãã + ãã®åä½ã¯ãç½®æåã«ãã¼ãã«å¯¾ãã¦è¡ãå ¨ã¦ã®ä¿®æ£ãããã㯠+ <function>domnode_first_child</function>, + <function>domnode_child_nodes</function> + ãªã©ã®é¢æ°ãç¨ããå¾ã«æ¿å ¥ããããã¼ããååå¾ããããã¨ãå¼·å¶ãã¾ãã + </para> + <para> + (PHP 4.3) ãã®é¢æ°ã¯æ¢åãã¼ããæ¸¡ãããæ°è¦ãã¼ãã«ç½®æãã¾ãã + ãã¯ãã³ãã¼ã¯ããã¾ããããã <parameter>newnode</parameter> + ãæç« ã«æ¿å ¥ããã¦ããå ´åãæåã«æ¢åã®ã³ã³ããã¹ãããåé¤ããã¾ãã + ããç½®æãæåããå ´åãå¤ããã¼ããè¿ããã¾ãã + </para> + <para> + <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-ja/reference/domxml/functions/DomNode-set-content.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-set-content.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-set-content.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-set-content.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-set-content.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-set-content.xml Sun Jul 24 11:07:21 2005 @@ -1,24 +1,25 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.39 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-set-content'> - <refnamediv> - <refname>DomNode->set_content</refname> - <refpurpose> - ãã¼ãã®ã³ã³ãã³ããè¨å®ãã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <methodsynopsis> - <type>bool</type><methodname>DomNode->set_content</methodname> - <void/> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.5 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-set-content'> + <refnamediv> + <refname>DomNode->set_content</refname> + <refpurpose> + ãã¼ãã®å 容ãè¨å®ãã + </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-ja/reference/domxml/functions/DomNode-set-name.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-set-name.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-set-name.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-set-name.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-set-name.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-set-name.xml Sun Jul 24 11:07:21 2005 @@ -1,27 +1,29 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.6 --> -<!-- EN-Revision: 1.39 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-set-name'> - <refnamediv> - <refname>DomNode->set_name</refname> - <refpurpose> - ãã¼ãã®ååãè¨å®ãã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <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.4 $ --> +<!-- EN-Revision: 1.6 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-set-name'> + <refnamediv> + <refname>DomNode->set_name</refname> + <refpurpose> + ãã¼ãåãè¨å®ãã + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>DomNode->set_name</methodname> + <void/> + </methodsynopsis> + <para> + ãã¼ãåãè¨å®ãã¾ãã + </para> + <para> + <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-ja/reference/domxml/functions/DomNode-unlink-node.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-unlink-node.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-unlink-node.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-unlink-node.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-unlink-node.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-unlink-node.xml Sun Jul 24 11:07:21 2005 @@ -1,24 +1,25 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.39 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-unlink-node'> - <refnamediv> - <refname>DomNode->unlink_node</refname> - <refpurpose> - ãã¼ããåé¤ãã - </refpurpose> - </refnamediv> - <refsect1> - <title>説æ</title> - <methodsynopsis> - <type>object</type><methodname>DomNode->unlink_node</methodname> - <void/> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.6 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-unlink-node'> + <refnamediv> + <refname>DomNode->unlink_node</refname> + <refpurpose> + ãã¼ããåé¤ãã + </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: