Date: 08/15/02
- Next message: Christian Stocker: "[PHP-DOC] cvs: phpdoc /en/reference/domxml/functions DomXsltStylesheet-process.xml domxml-xslt-stylesheet-doc.xml domxml-xslt-stylesheet-file.xml domxml-xslt-stylesheet.xml"
- Previous message: Christian Stocker: "[PHP-DOC] cvs: phpdoc /en/reference/domxml/functions DomNode-replace-node.xml"
- In reply to: Christian Stocker: "[PHP-DOC] cvs: phpdoc /en/reference/domxml/functions DomNode-replace-child.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>
<methodparam><type>object</type><parameter>newnode</parameter></methodparam>
> </methodsynopsis>
> <para>
> - This function replaces the child <parameter>oldnode</parameter>
> + (PHP 4.2) This function replaces the child
<parameter>oldnode</parameter>
> with the passed new node. If the new node is already a child it
> will not be added a second time. If the old node cannot be found
> the function returns false. If the replacement succeds the old node
> is returned.
> + </para>
> + <para>
> + (PHP 4.3) This function replaces the child
<parameter>oldnode</parameter>
> + with the passed <parameter>newnode</parameter>, even if the new node
already
> + is a child of the DomNode. If <parameter>newnode</parameter> was already
> + inserted in the document it is first unlinked from its existing context.
> + If the old node cannot be found the function returns false. If the
replacement
> + succeds the old node is returned. (This behaviour is according to the
W3C specs).
> </para>
> <para>
Please do not use tabs for indentation. There should be no tabs
in phpdoc XML documents...
Goba
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Christian Stocker: "[PHP-DOC] cvs: phpdoc /en/reference/domxml/functions DomXsltStylesheet-process.xml domxml-xslt-stylesheet-doc.xml domxml-xslt-stylesheet-file.xml domxml-xslt-stylesheet.xml"
- Previous message: Christian Stocker: "[PHP-DOC] cvs: phpdoc /en/reference/domxml/functions DomNode-replace-node.xml"
- In reply to: Christian Stocker: "[PHP-DOC] cvs: phpdoc /en/reference/domxml/functions DomNode-replace-child.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

