cvs: phpdoc-ja /reference/domxml/functions DomDocument-xinclude.xml

From: Date: Sun, 24 Jul 2005 07:53:44 +0000
Subject: cvs: phpdoc-ja /reference/domxml/functions DomDocument-xinclude.xml
Groups: php.doc.ja 
Request: Send a blank email to doc-ja+get-1070@lists.php.net to get a copy of this message
shimooka Sun Jul 24 03:53:44 2005 EDT Added files: /phpdoc-ja/reference/domxml/functions DomDocument-xinclude.xml Log: added japanese translation http://cvs.php.net/co.php/phpdoc-ja/reference/domxml/functions/DomDocument-xinclude.xml?r=1.1&p=1 Index: phpdoc-ja/reference/domxml/functions/DomDocument-xinclude.xml +++ phpdoc-ja/reference/domxml/functions/DomDocument-xinclude.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.8 Maintainer: shimooka Status: ready --> <refentry id="function.domdocument-xinclude"> <refnamediv> <refname>DomDocument->xinclude</refname> <refpurpose> DomDocument オブジェクトにおける XIncludes の代替 </refpurpose> </refnamediv> <refsect1> &reftitle.description; <methodsynopsis> <type>int</type><methodname>DomDocument->xinclude</methodname> <void/> </methodsynopsis> <para> この関数は DomDocument オブジェクトにおける <ulink url="&url.xinclude.spec;">XIncludes</ulink> の代替です。 </para> <para> <example> <title>Xincludes の代替</title> <programlisting role="php"> <![CDATA[ <?php // include.xml は以下の内容を含む : // <child>test</child> $xml = '<?xml version="1.0"?> <root xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:include href="include.xml"> <xi:fallback> <error>xinclude: include.xml not found</error> </xi:fallback> </xi:include> </root>'; $domxml = domxml_open_mem($xml); $domxml->xinclude(); echo $domxml->dump_mem(); ?> ]]> </programlisting> &example.outputs; <screen role="xml"> <![CDATA[ <?xml version="1.0"?> <root xmlns:xi="http://www.w3.org/2001/XInclude"> <child>test</child> </root> ]]> </screen> <para> もし <filename>include.xml</filename> が存在しない場合、 次の通りとなります: </para> <screen role="xml"> <![CDATA[ <?xml version="1.0"?> <root xmlns:xi="http://www.w3.org/2001/XInclude"> <error>xinclude:dom.xml not found</error> </root> ]]> </screen> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->

« previous php.doc.ja (#1070) next »