cvs: phpdoc /ja/reference/domxml functions.xml /ja/reference/domxml/functions DomNode-append-sibling.xml
| From: | Rui Hirokawa | Date: | Sun, 21 Apr 2002 02:11:41 +0000 |
| Subject: | cvs: phpdoc /ja/reference/domxml functions.xml /ja/reference/domxml/functions DomNode-append-sibling.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969344657@lists.php.net to get a copy of this message | ||
hirokawa Sat Apr 20 22:11:41 2002 EDT
Added files:
/phpdoc/ja/reference/domxml/functions DomNode-append-sibling.xml
Modified files:
/phpdoc/ja/reference/domxml functions.xml
Log:
added DomNode-append-sibling() of domxml in japanese manual.
Index: phpdoc/ja/reference/domxml/functions.xml
diff -u phpdoc/ja/reference/domxml/functions.xml:1.1 phpdoc/ja/reference/domxml/functions.xml:1.2
--- phpdoc/ja/reference/domxml/functions.xml:1.1 Sun Apr 14 21:01:53 2002
+++ phpdoc/ja/reference/domxml/functions.xml Sat Apr 20 22:11:40 2002
@@ -31,6 +31,7 @@
&reference.domxml.functions.DomElement-set-attribute-node;
&reference.domxml.functions.DomElement-tagname;
&reference.domxml.functions.DomNode-append-child;
+&reference.domxml.functions.DomNode-append-sibling;
&reference.domxml.functions.DomNode-attributes;
&reference.domxml.functions.DomNode-child-nodes;
&reference.domxml.functions.DomNode-clone-node;
Index: phpdoc/ja/reference/domxml/functions/DomNode-append-sibling.xml
+++ phpdoc/ja/reference/domxml/functions/DomNode-append-sibling.xml
<?xml version="1.0" encoding="utf-8"?>
<refentry id='function.DomNode-append-sibling'>
<refnamediv>
<refname>DomNode->append_sibling</refname>
<refpurpose>
æ°è¦ã«å
å¼ããã¼ãã«è¿½å ãã
</refpurpose>
</refnamediv>
<refsect1>
<title>説æ</title>
<methodsynopsis>
<type>object</type><methodname>DomNode->append_sibling</methodname>
<methodparam><type>object</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.
</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.
</para>
<para>
This function has been added to provide the behaviour of
<function>DomNode_append_child</function> as it works till PHP 4.2.
</para>
<para>
See also <function>DomNode_append_before</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
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
-->