chregu Thu Aug 15 09:25:13 2002 EDT Added files: /phpdoc/en/reference/domxml/functions DomDocument-create-element-ns.xml DomNode-add-namespace.xml DomNode-set-namespace.xml
Modified files: /phpdoc/en/reference/domxml/functions DomDocument-create-element.xml DomNode-replace-child.xml DomNode-replace-node.xml Log: more documentation about changes and new functions in php 4.3
Index: phpdoc/en/reference/domxml/functions/DomDocument-create-element.xml diff -u phpdoc/en/reference/domxml/functions/DomDocument-create-element.xml:1.2 phpdoc/en/reference/domxml/functions/DomDocument-create-element.xml:1.3 --- phpdoc/en/reference/domxml/functions/DomDocument-create-element.xml:1.2 Wed Apr 17 02:37:36 2002 +++ phpdoc/en/reference/domxml/functions/DomDocument-create-element.xml Thu Aug 15 +09:25:13 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id="function.DomDocument-create-element"> <refnamediv> @@ -25,7 +25,8 @@ The return value is false if an error occured. </para> <para> - See also <function>DomNode_append_child</function>, + See also <function>DomDocument_create_element_ns</function>, + <function>DomNode_append_child</function>, <function>DomDocument_create_text</function>, <function>DomDocument_create_comment</function>, <function>DomDocument_create_attribute</function>, Index: phpdoc/en/reference/domxml/functions/DomNode-replace-child.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-replace-child.xml:1.3 phpdoc/en/reference/domxml/functions/DomNode-replace-child.xml:1.4 --- phpdoc/en/reference/domxml/functions/DomNode-replace-child.xml:1.3 Thu Aug 15 06:22:22 2002 +++ phpdoc/en/reference/domxml/functions/DomNode-replace-child.xml Thu Aug 15 +09:25:13 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id='function.DomNode-replace-child'> <refnamediv> <refname>DomNode->replace_child</refname> @@ -21,13 +21,13 @@ 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> + <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). + 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> See also <function>DomNode_append_child</function> Index: phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml diff -u phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml:1.6 phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml:1.7 --- phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml:1.6 Thu Aug 15 06:29:56 2002 +++ phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml Thu Aug 15 +09:25:13 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.39 --> <refentry id='function.DomNode-replace-node'> <refnamediv> @@ -25,12 +25,12 @@ <function>DomNode_first_child</function>, <function>DomNode_child_nodes</function> etc.. </para> - <para> - (PHP 4.3) This function replaces an existing node with the passed new node. It is not - copied anymore. If <parameter>newnode</parameter> was already inserted in the document - it is first unlinked from its existing context. If the replacement succeds the old - node is returned. - </para> + <para> + (PHP 4.3) This function replaces an existing node with the passed new node. It +is not + copied anymore. If <parameter>newnode</parameter> was already inserted in the +document + it is first unlinked from its existing context. If the replacement succeds the +old + node is returned. + </para> <para> See also <function>DomNode_append_child</function> </para> Index: phpdoc/en/reference/domxml/functions/DomDocument-create-element-ns.xml +++ phpdoc/en/reference/domxml/functions/DomDocument-create-element-ns.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id="function.DomDocument-create-element_ns"> <refnamediv> <refname>DomDocument->create_element_ns</refname> <refpurpose> Create new element node with an associated namespace </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>object</type><methodname>DomDocument->create_element_ns</methodname> <methodparam><type>string</type><parameter>uri</parameter></methodparam> <methodparam><type>string</type><parameter>name</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>prefix</parameter></methodparam> </methodsynopsis> <para> This function returns a new instance of class <classname>DomElement</classname>. The tag name of the element is the value of the passed parameter <parameter>name</parameter>. The URI of the namespace is the value of the passed parameter <parameter>uri</parameter>. If there is already a namespace declaration with the same uri in the root-node of the document, the prefix of this is taken, otherwise it will take the one provided in the optional parameter <parameter>prefix</parameter> or generate a random one. This node will not show up in the document unless it is inserted with e.g. <function>DomNode_append_child</function>. </para> <para> The return value is false if an error occured. </para> <para> See also <function>DomDocument_create_element_ns</function>, <function>DomNode_add_namespace</function>, <function>DomNode_set_namespace</function>, <function>DomNode_append_child</function>, <function>DomDocument_create_text</function>, <function>DomDocument_create_comment</function>, <function>DomDocument_create_attribute</function>, <function>DomDocument_create_processing_instruction</function>, <function>DomDocument_create_entity_reference</function>, <function>DomNode_insert_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 --> Index: phpdoc/en/reference/domxml/functions/DomNode-add-namespace.xml +++ phpdoc/en/reference/domxml/functions/DomNode-add-namespace.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id='function.DomNode-add-namespace'> <refnamediv> <refname>DomNode->add_namespace</refname> <refpurpose> Adds a namespace declaration to a node. </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>bool</type><methodname>DomNode->add_namespace</methodname> <methodparam><type>string</type><parameter>uri</parameter></methodparam> <methodparam><type>string</type><parameter>prefix</parameter></methodparam> </methodsynopsis> <para> </para> <para> See also <function>DomDocument_create_element_ns</function>, <function>DomNode_set_namespace</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 --> Index: phpdoc/en/reference/domxml/functions/DomNode-set-namespace.xml +++ phpdoc/en/reference/domxml/functions/DomNode-set-namespace.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.38 --> <refentry id='function.DomNode-set-namespace'> <refnamediv> <refname>DomNode->set_namespace</refname> <refpurpose> Sets namespace of a node. </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>void</type><methodname>DomNode->set_namespace</methodname> <methodparam><type>string</type><parameter>uri</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>prefix</parameter></methodparam> </methodsynopsis> <para> Sets the namespace of a node to <parameter>uri</parameter>. If there is already a namespace declaration with the same uri in one of the parent nodes of the node, the prefix of this is taken, otherwise it will take the one provided in the optional parameter <parameter>prefix</parameter> or generate a random one. </para> <para> See also <function>DomDocument_create_element_ns</function>, <function>DomNode_add_namespace</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 -->
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php