cvs: phpdoc-ja /reference/domxml/functions domxml-version.xml domxml-xmltree.xml xpath-eval-expression.xml xpath-eval.xml xpath-new-context.xml
xptr-new-context.xml

From: Date: Sun, 24 Jul 2005 15:43:53 +0000
Subject: cvs: phpdoc-ja /reference/domxml/functions domxml-version.xml domxml-xmltree.xml xpath-eval-expression.xml xpath-eval.xml xpath-new-context.xml
xptr-new-context.xml
Groups: php.doc.ja 
Request: Send a blank email to doc-ja+get-1078@lists.php.net to get a copy of this message
shimooka Sun Jul 24 11:43:53 2005 EDT Modified files: /phpdoc-ja/reference/domxml/functions domxml-version.xml domxml-xmltree.xml xpath-eval-expression.xml xpath-eval.xml xpath-new-context.xml xptr-new-context.xml Log: translation updated

http://cvs.php.net/diff.php/phpdoc-ja/reference/domxml/functions/domxml-version.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-ja/reference/domxml/functions/domxml-version.xml diff -u phpdoc-ja/reference/domxml/functions/domxml-version.xml:1.4 phpdoc-ja/reference/domxml/functions/domxml-version.xml:1.5 --- phpdoc-ja/reference/domxml/functions/domxml-version.xml:1.4 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/domxml-version.xml Sun Jul 24 11:43:53 2005 @@ -1,24 +1,54 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.2 Maintainer: hirokawa Status: ready --> - <refentry id='function.domxml-version'> - <refnamediv> - <refname>domxml_version</refname> - <refpurpose> - XMLライブラリのバージョンを取得する - </refpurpose> - </refnamediv> - <refsect1> - <title>説明</title> - <methodsynopsis> - <type>string</type><methodname>domxml_version</methodname> - <void/> - </methodsynopsis> - <para> - この関数は、現在使用されるXMLライブラリのバージョンを返します。 - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.6 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.domxml-version'> + <refnamediv> + <refname>domxml_version</refname> + <refpurpose> + XML ライブラリのバージョンを取得する + </refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>domxml_version</methodname> + <void/> + </methodsynopsis> + <para> + この関数は、現在使用されている XML ライブラリのバージョンを取得します。 + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + XML ライブラリのバージョンを文字列として返します。 + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>domxml_version</function> の例</title> + <programlisting role="php"> +<![CDATA[ +<?php + +echo domxml_version(); + +?> +]]> + </programlisting> + &example.outputs.similar; + <screen> +<![CDATA[ +20607 +]]> + </screen> + </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/domxml-xmltree.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/domxml-xmltree.xml diff -u phpdoc-ja/reference/domxml/functions/domxml-xmltree.xml:1.3 phpdoc-ja/reference/domxml/functions/domxml-xmltree.xml:1.4 --- phpdoc-ja/reference/domxml/functions/domxml-xmltree.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/domxml-xmltree.xml Sun Jul 24 11:43:53 2005 @@ -1,31 +1,57 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.16 --> -<!-- EN-Revision: 1.1 Maintainer: hirokawa Status: ready --> - <refentry id="function.domxml-xmltree"> - <refnamediv> - <refname>domxml_xmltree</refname> - <refpurpose> - XMLドキュメントからPHPオブジェクトツリーを作成する - </refpurpose> - </refnamediv> - <refsect1> - <title>説明</title> - <methodsynopsis> - <type>object</type><methodname>domxml_xmltree</methodname> - <methodparam><type>string</type><parameter>str</parameter></methodparam> - </methodsynopsis> - &warn.experimental.func; - <para> - この関数は、<parameter>str</parameter>のXMLドキュメントをパースし、 - パース済のドキュメントとしてPHPオブジェクトのツリーを返します。他 - の関数はこのツリーにはアクセスできないため、この関数は他の関数と - 異なっています。例えばノードを追加する時のように、このツリーを修 - 正することには、現在XMLファイルとしてツリーをダンプする手段がない - ため意味がありません。この関数は、ファイルを読み込んで定数を調べ - たい場合には有用です。 - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.7 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id="function.domxml-xmltree"> + <refnamediv> + <refname>domxml_xmltree</refname> + <refpurpose> + XML 文章から PHP オブジェクトツリーを作成する + </refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>DomDocument</type><methodname>domxml_xmltree</methodname> + <methodparam><type>string</type><parameter>str</parameter></methodparam> + </methodsynopsis> + <para> + この関数は、<parameter>str</parameter> の XML ドキュメントをパースし、 + パースされた文章としてPHPオブジェクトのツリーを返します。 + </para> + <para> + 他の関数はこのツリーにはアクセスできないため、 + この関数は他の関数と異なっています。 + 例えばノードを追加する時のように、このツリーを修正することには、 + 現在 XML ファイルとしてツリーをダンプする手段がないため意味がありません。 + </para> + <para> + しかしながら、この関数はファイルを読み込んで内容を調べたい場合には有用です。 + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>str</parameter></term> + <listitem> + <para> + XML ファイルの内容 + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + <classname>DomDocument</classname> によって開始される DOM + オブジェクトのツリーを返します。 + </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/xpath-eval-expression.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-ja/reference/domxml/functions/xpath-eval-expression.xml diff -u phpdoc-ja/reference/domxml/functions/xpath-eval-expression.xml:1.4 phpdoc-ja/reference/domxml/functions/xpath-eval-expression.xml:1.5 --- phpdoc-ja/reference/domxml/functions/xpath-eval-expression.xml:1.4 Sun Jan 2 02:23:30 2005 +++ phpdoc-ja/reference/domxml/functions/xpath-eval-expression.xml Sun Jul 24 11:43:53 2005 @@ -1,24 +1,81 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.14 --> -<!-- EN-Revision: 1.29 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.8 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.29 --> <refentry id="function.xpath-eval-expression"> <refnamediv> <refname>xpath_eval_expression</refname> <refpurpose> - 指定した文字列のXPathロケーション式を評価する + 与えられた文字列で XPath のロケーションパスを評価する </refpurpose> </refnamediv> <refsect1> - <title>説明</title> + &reftitle.description; + <classsynopsis> + <ooclass><classname>XPathContext</classname></ooclass> <methodsynopsis> - <type>array</type><methodname>xpath_eval_expression</methodname> - <methodparam><type>object</type><parameter>xpath_context</parameter></methodparam> + <type>XPathObject</type><methodname>xpath_eval_expression</methodname> + <methodparam><type>string</type><parameter>expression</parameter></methodparam> + <methodparam choice="opt"><type>domnode</type><parameter>contextnode</parameter></methodparam> </methodsynopsis> - &warn.experimental.func; + </classsynopsis> + <methodsynopsis> + <type>XPathObject</type><methodname>xpath_eval_expression</methodname> + <methodparam><type>XPathContext</type><parameter>xpath_context</parameter></methodparam> + <methodparam><type>string</type><parameter>expression</parameter></methodparam> + <methodparam choice="opt"><type>domnode</type><parameter>contextnode</parameter></methodparam> + </methodsynopsis> <para> + <example> + <title><function>xpath_eval_expression</function> の例</title> + <programlisting role="php"> +<![CDATA[ +<?php + +include("example.inc"); + +if (!$dom = domxml_open_mem($xmlstr)) { + echo "Error while parsing the document\n"; + exit; +} + +$xpath = xpath_new_context($dom); +var_dump(xpath_eval_expression($xpath, '/chapter/@language')); + +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +object(XPathObject)(2) { + ["type"]=> + int(1) + ["nodeset"]=> + array(1) { + [0]=> + object(domattribute)(5) { + ["type"]=> + int(2) + ["name"]=> + string(8) "language" + ["value"]=> + string(2) "en" + [0]=> + int(7) + [1]=> + int(138004256) + } + } +} +]]> + </screen> + </example> </para> <para> - <function>xpath_eval</function>も参照ください + <function>xpath_eval</function> + も参照ください。 </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-ja/reference/domxml/functions/xpath-eval.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-ja/reference/domxml/functions/xpath-eval.xml diff -u phpdoc-ja/reference/domxml/functions/xpath-eval.xml:1.4 phpdoc-ja/reference/domxml/functions/xpath-eval.xml:1.5 --- phpdoc-ja/reference/domxml/functions/xpath-eval.xml:1.4 Sun Jan 2 02:23:30 2005 +++ phpdoc-ja/reference/domxml/functions/xpath-eval.xml Sun Jul 24 11:43:53 2005 @@ -1,24 +1,38 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.14 --> -<!-- EN-Revision: 1.38 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.10 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id="function.xpath-eval"> <refnamediv> <refname>xpath_eval</refname> <refpurpose> - 指定した文字列のXPathロケーションを評価する + 与えられた文字列で XPath のロケーションパスを評価する </refpurpose> </refnamediv> <refsect1> - <title>説明</title> + &reftitle.description; + <classsynopsis> + <ooclass><classname>XPathContext</classname></ooclass> <methodsynopsis> - <type>array</type><methodname>xpath_eval</methodname> - <methodparam><type>object</type><parameter>xpath context</parameter></methodparam> + <type>XPathObject</type><methodname>xpath_eval</methodname> + <methodparam><type>string</type><parameter>xpath_expression</parameter></methodparam> + <methodparam choice="opt"><type>domnode</type><parameter>contextnode</parameter></methodparam> </methodsynopsis> - &warn.experimental.func; + </classsynopsis> + <methodsynopsis> + <type>XPathObject</type><methodname>xpath_eval</methodname> + <methodparam><type>XPathContext</type><parameter>xpath_context</parameter></methodparam> + <methodparam><type>string</type><parameter>xpath_expression</parameter></methodparam> + <methodparam choice="opt"><type>domnode</type><parameter>contextnode</parameter></methodparam> + </methodsynopsis> <para> + オプション <parameter>contextnode</parameter> は、相対 XPath + クエリを実行するために指定する事が可能です。 </para> <para> - <function>xpath_new_context</function>も参照ください。 + <function>xpath_new_context</function> + も参照ください。 </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-ja/reference/domxml/functions/xpath-new-context.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-ja/reference/domxml/functions/xpath-new-context.xml diff -u phpdoc-ja/reference/domxml/functions/xpath-new-context.xml:1.4 phpdoc-ja/reference/domxml/functions/xpath-new-context.xml:1.5 --- phpdoc-ja/reference/domxml/functions/xpath-new-context.xml:1.4 Sun Jan 2 02:23:30 2005 +++ phpdoc-ja/reference/domxml/functions/xpath-new-context.xml Sun Jul 24 11:43:53 2005 @@ -1,24 +1,26 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.14 --> -<!-- EN-Revision: 1.38 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.6 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id="function.xpath-new-context"> <refnamediv> <refname>xpath_new_context</refname> <refpurpose> - 新規xpathコンテキストを作成する + 新規 xpath コンテキストを作成する </refpurpose> </refnamediv> <refsect1> - <title>説明</title> + &reftitle.description; <methodsynopsis> - <type>object</type><methodname>xpath_new_context</methodname> - <methodparam><type>object</type><parameter>dom document</parameter></methodparam> + <type>XPathContext</type><methodname>xpath_new_context</methodname> + <methodparam><type>domdocument</type><parameter>dom_document</parameter></methodparam> </methodsynopsis> - &warn.experimental.func; <para> </para> <para> - <function>xpath_eval</function>も参照ください。 + <function>xpath_eval</function> + も参照ください。 </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-ja/reference/domxml/functions/xptr-new-context.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-ja/reference/domxml/functions/xptr-new-context.xml diff -u phpdoc-ja/reference/domxml/functions/xptr-new-context.xml:1.3 phpdoc-ja/reference/domxml/functions/xptr-new-context.xml:1.4 --- phpdoc-ja/reference/domxml/functions/xptr-new-context.xml:1.3 Mon Nov 22 23:45:32 2004 +++ phpdoc-ja/reference/domxml/functions/xptr-new-context.xml Sun Jul 24 11:43:53 2005 @@ -1,24 +1,25 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- splitted from ./ja/functions/domxml.xml, last change in rev 1.14 --> -<!-- EN-Revision: 1.29 Maintainer: hirokawa Status: ready --> - <refentry id='function.xptr-new-context'> - <refnamediv> - <refname>xptr_new_context</refname> - <refpurpose> - 新規XPathコンテキストを作成する - </refpurpose> - </refnamediv> - <refsect1> - <title>説明</title> - <methodsynopsis> - <type>string</type><methodname>xptr_new_context</methodname> - <methodparam choice="opt"><type>object</type><parameter>doc_handle</parameter></methodparam> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.5 Maintainer: shimooka Status: ready --> +<!-- CREDITS: hirokawa --> +<refentry id='function.xptr-new-context'> + <refnamediv> + <refname>xptr_new_context</refname> + <refpurpose> + 新規 XPath コンテキストを作成する + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>XPathContext</type><methodname>xptr_new_context</methodname> + <void/> + </methodsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables:
« previous php.doc.ja (#1078) next »