cvs: phpdoc-ja /reference/domxml/functions DomNode-append-child.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

From: Date: Sun, 24 Jul 2005 09:18:10 +0000
Subject: cvs: phpdoc-ja /reference/domxml/functions DomNode-append-child.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
Groups: php.doc.ja 
Request: Send a blank email to doc-ja+get-1072@lists.php.net to get a copy of this message
shimooka Sun Jul 24 05:18:10 2005 EDT Modified files: /phpdoc-ja/reference/domxml/functions DomNode-append-child.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 Log: translation updated

http://cvs.php.net/diff.php/phpdoc-ja/reference/domxml/functions/DomNode-append-child.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-append-child.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-append-child.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-append-child.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-append-child.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-append-child.xml Sun Jul 24 05:18:09 2005 @@ -1,41 +1,125 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.40 Maintainer: hirokawa Status: ready --> - <refentry id='function.DomNode-append-child'> - <refnamediv> - <refname>DomNode->append_child</refname> - <refpurpose> - 子ノードの最後に新規に子ノードを追加する - </refpurpose> - </refnamediv> - <refsect1> - <title>説明</title> - <methodsynopsis> - <type>object</type><methodname>DomNode->append_child</methodname> - <methodparam><type>object</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> - 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 a 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> - 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.4 $ --> +<!-- EN-Revision: 1.14 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-append-child'> + <refnamediv> + <refname>DomNode->append_child</refname> + <refpurpose> + 子ノードの最後に新規に子ノードを追加する + </refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <classsynopsis> + <ooclass><classname>DOMNode</classname></ooclass> + <methodsynopsis> + <type>DOMNode</type><methodname>append_child</methodname> + <methodparam><type>DOMNode</type><parameter>newnode</parameter></methodparam> + </methodsynopsis> + </classsynopsis> + <para> + この関数は既存の子ノードに子ノードを追加する、 + もしくは新規子ノードを作成します。 + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>newnode</parameter></term> + <listitem> + <para> + 追加するノード。これには、例えば + <xref linkend="function.domdocument-create-element" />, + <xref linkend="function.domdocument-create-text-node" /> + など、もしくは単純にあらゆる他のノードによって作成されたノードを + 指定することが可能です。 + </para> + <note> + <para> + このメソッドを使用して <classname>DOMAttribute</classname> + を追加することはできません。代わりに + <xref linkend="function.domelement-set-attribute" /> + を使用してください。 + </para> + </note> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + 成功時は追加されたノード、失敗時は &false; を返します。 + </para> + </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.3.0</entry> + <entry> + 他の文章からのノードを挿入することは、もはや許可されません。 + </entry> + </row> + <row> + <entry>4.3.0</entry> + <entry> + PHP 4.3.0 以前では、新規子ノードは追加する前に複製されます。 + そのため、新規子ノードは完全に新しいコピーとなります。これは、 + この関数に渡されたノードを変更することなしに修正することが可能です。 + 渡されたノードが子ノード自身の場合うまくコピーされますので、 + XML 文章の大きな部位を簡単にコピーすることができます。 + 戻り値は追加された子ノードです。 + もし追加された子ノードを変更するつもりであれば、 + 返されたノードを使用する必要があります。 + </entry> + </row> + <row> + <entry>4.3.0 と 4.3.1</entry> + <entry> + 新規子ノード <parameter>newnode</parameter> がすでに DomNode + の子ノードである場合、最初に既存のコンテキストから削除されます。 + そのため、<parameter>newnode</parameter> は移動され、 + コピーされません。この動作は W3C 規格に準じるものです。 + もし古い動作をさせる必要がある場合、追加ではなく <xref + linkend="function.domnode-clone-node" /> を使用してください。 + </entry> + </row> + <row> + <entry>4.3.2</entry> + <entry> + 新規子ノード <parameter>newnode</parameter> がすでにツリーにある場合、 + 最初に既存のコンテキストから削除されます。同じ規則が適用されます。 + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + 以下の例は新規ドキュメントに新規要素ノードを追加し、 + 属性 <literal>align</literal> を <literal>left</literal> に設定します。 + </para> + <para> + <example> + <title>子ノードを追加する</title> + <programlisting role="php"> <![CDATA[ <?php $doc = domxml_new_doc("1.0"); @@ -44,12 +128,16 @@ $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> + </para> + <para> + 上記の例は、以下のようにも書くことができました: + </para> + <para> + <example> + <title>子ノードを追加する</title> + <programlisting role="php"> <![CDATA[ <?php $doc = domxml_new_doc("1.0"); @@ -58,20 +146,24 @@ $newnode = $doc->append_child($node); ?> ]]> - </programlisting> - </example> - A more comples 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> + </para> + <para> + より複雑な例は以下の通りです。最初に特定の要素を検索し、 + 子を含むノードを複製し、兄弟ノードとして追加します。 + 最後に新規属性を新規兄弟ノード能古ノードの一つに追加し、 + 文章全体をダンプします。 + </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; } @@ -85,23 +177,37 @@ $children = $newnode->children(); $attr = $children[1]->set_attribute("align", "left"); -echo "<PRE>"; $xmlfile = $dom->dump_mem(); echo htmlentities($xmlfile); -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>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + 上記の例は + <xref linkend="function.domnode-append-child" /> + の代わりに <xref linkend="function.domnode-insert-before" /> + を用いても動作します。 + </para> + </refsect1> + <refsect1 role="migration"> + <title>PHP 5 への移行</title> + <para> + <xref linkend='function.dom-domnode-appendchild' /> + を使用してください。 + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><xref linkend="function.domnode-insert-before" /></member> + <member><xref linkend="function.domnode-clone-node" /></member> + </simplelist> + </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-attributes.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-attributes.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-attributes.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-attributes.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-attributes.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-attributes.xml Sun Jul 24 05:18:09 2005 @@ -1,25 +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-attributes'> - <refnamediv> - <refname>DomNode->attributes</refname> - <refpurpose> - 属性のリストを返す - </refpurpose> - </refnamediv> - <refsect1> - <title>説明</title> - <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> - </refsect1> - </refentry> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.6 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-attributes'> + <refnamediv> + <refname>DomNode->attributes</refname> + <refpurpose> + 属性の一覧を返す + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>array</type><methodname>DomNode->attributes</methodname> + <void/> + </methodsynopsis> + <para> + この関数は、ノードが XML_ELEMENT_NODE 型の場合に属性の配列を返すだけです。 + </para> + <para> + (PHP &gt;= 4.3 のみ) 属性が存在しない場合、NULL が返されます。 + </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-child-nodes.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-child-nodes.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-child-nodes.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-child-nodes.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-child-nodes.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-child-nodes.xml Sun Jul 24 05:18:09 2005 @@ -1,28 +1,30 @@ <?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-child-nodes'> - <refnamediv> - <refname>DomNode->child-nodes</refname> - <refpurpose> - 子ノードを返す - </refpurpose> - </refnamediv> - <refsect1> - <title>説明</title> - <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>, - <function>DomNode_previous_sibling</function>. - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.8 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-child-nodes'> + <refnamediv> + <refname>DomNode->child_nodes</refname> + <refpurpose> + 子ノードを返す + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>array</type><methodname>DomNode->child_nodes</methodname> + <void/> + </methodsynopsis> + <para> + 全ての子ノードを返します。 + </para> + <para> + <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-clone-node.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-clone-node.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-clone-node.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-clone-node.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-clone-node.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-clone-node.xml Sun Jul 24 05:18:09 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-clone-node'> - <refnamediv> - <refname>DomNode->clone_node</refname> - <refpurpose> - ノードの複製を作る - </refpurpose> - </refnamediv> - <refsect1> - <title>説明</title> - <methodsynopsis> - <type>object</type><methodname>DomNode->clone_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-clone-node'> + <refnamediv> + <refname>DomNode->clone_node</refname> + <refpurpose> + ノードを複製する + </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-ja/reference/domxml/functions/DomNode-dump-node.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-dump-node.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-dump-node.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-dump-node.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-dump-node.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-dump-node.xml Sun Jul 24 05:18:09 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-dump-node'> - <refnamediv> - <refname>DomNode->dump_node</refname> - <refpurpose> - ノードを1つダンプする - </refpurpose> - </refnamediv> - <refsect1> - <title>説明</title> - <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.4 $ --> +<!-- EN-Revision: 1.6 Maintainer: shimooka Status: partial --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-dump-node'> + <refnamediv> + <refname>DomNode->dump_node</refname> + <refpurpose> + 単一ノードをダンプする + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>DomNode->dump_node</methodname> + <void/> + </methodsynopsis> + <para> + &warn.undocumented.func; + </para> + <para> + <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-ja/reference/domxml/functions/DomNode-first-child.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-first-child.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-first-child.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-first-child.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-first-child.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-first-child.xml Sun Jul 24 05:18:09 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-first-child'> - <refnamediv> - <refname>DomNode->first_child</refname> - <refpurpose> - 最初の子ノードを返す - </refpurpose> - </refnamediv> - <refsect1> - <title>説明</title> - <methodsynopsis> - <type>bool</type><methodname>DomNode->first_child</methodname> - <void/> - </methodsynopsis> - <para> - Returns the first child of the node. - </para> - <para> - See also <function>DomNode_last_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-first-child'> + <refnamediv> + <refname>DomNode->first_child</refname> + <refpurpose> + 最初の子ノードを返す + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>domelement</type><methodname>DomNode->first_child</methodname> + <void/> + </methodsynopsis> + <para> + 最初の子ノードを返します。 + </para> + <para> + (PHP &gt;= 4.3 のみ) 最初の子ノードが存在しない場合、NULL が返されます。 + </para> + <para> + <function>domnode_last_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-get-content.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-get-content.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-get-content.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-get-content.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-get-content.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-get-content.xml Sun Jul 24 05:18:09 2005 @@ -1,24 +1,50 @@ <?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-get-content'> - <refnamediv> - <refname>DomNode->get_content</refname> - <refpurpose> - ノードのコンテンツを取得する - </refpurpose> - </refnamediv> - <refsect1> - <title>説明</title> - <methodsynopsis> - <type>string</type><methodname>DomNode->get_content</methodname> - <void/> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.9 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-get-content'> + <refnamediv> + <refname>DomNode->get_content</refname> + <refpurpose> + ノードの内容を取得する + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>DomNode->get_content</methodname> + <void/> + </methodsynopsis> + <para> + この関数は実ノードの内容を返します。 + </para> + <para> + <example> + <title>内容を取得する</title> + <programlisting role="php"> +<![CDATA[ +<?php +if (!$dom = domxml_open_mem($xmlstr)) { + echo "Error while parsing the document\n"; + exit; +} + +$root = $dom->document_element(); + +$node_array = $root->get_elements_by_tagname("element"); + +for ($i = 0; $i<count($node_array); $i++) { + $node = $node_array[$i]; + echo "The element[$i] is: " . $node->get_content(); +} + +?> +]]> + </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-has-attributes.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-has-attributes.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-has-attributes.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-has-attributes.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-has-attributes.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-has-attributes.xml Sun Jul 24 05:18:09 2005 @@ -1,27 +1,29 @@ <?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-has-attributes'> - <refnamediv> - <refname>DomNode->has_attributess</refname> - <refpurpose> - ノードが属性を有しているかを調べる - </refpurpose> - </refnamediv> - <refsect1> - <title>説明</title> - <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.4 $ --> +<!-- EN-Revision: 1.7 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-has-attributes'> + <refnamediv> + <refname>DomNode->has_attributes</refname> + <refpurpose> + ノードが属性を有しているかを調べる + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>DomNode->has_attributes</methodname> + <void/> + </methodsynopsis> + <para> + この関数は、ノードが属性を有しているかを調べます。 + </para> + <para> + <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-ja/reference/domxml/functions/DomNode-has-child-nodes.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/DomNode-has-child-nodes.xml diff -u phpdoc-ja/reference/domxml/functions/DomNode-has-child-nodes.xml:1.3 phpdoc-ja/reference/domxml/functions/DomNode-has-child-nodes.xml:1.4 --- phpdoc-ja/reference/domxml/functions/DomNode-has-child-nodes.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/DomNode-has-child-nodes.xml Sun Jul 24 05:18:09 2005 @@ -1,27 +1,29 @@ <?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-has-child-nodes'> - <refnamediv> - <refname>DomNode->has_child_nodes</refname> - <refpurpose> - ノードが子ノードを有しているかを調べる - </refpurpose> - </refnamediv> - <refsect1> - <title>説明</title> - <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.4 $ --> +<!-- EN-Revision: 1.6 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domnode-has-child-nodes'> + <refnamediv> + <refname>DomNode->has_child_nodes</refname> + <refpurpose> + ノードが子ノードを有しているかを調べる + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>DomNode->has_child_nodes</methodname> + <void/> + </methodsynopsis> + <para> + この関数は、ノードが子ノードを有しているかを調べます。 + </para> + <para> + <function>domnode_child_nodes</function> + も参照ください。 + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables:
« previous php.doc.ja (#1072) next »