didou Sat Oct 30 11:42:55 2004 EDT
Modified files: /phpdoc/en/reference/dom/functions dom-domelement-getelementsbytagname.xml dom-domelement-getelementsbytagnamens.xml Log: fix #29817 and #29818 http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domelement-getelementsbytagname.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc/en/reference/dom/functions/dom-domelement-getelementsbytagname.xml diff -u phpdoc/en/reference/dom/functions/dom-domelement-getelementsbytagname.xml:1.1 phpdoc/en/reference/dom/functions/dom-domelement-getelementsbytagname.xml:1.2 --- phpdoc/en/reference/dom/functions/dom-domelement-getelementsbytagname.xml:1.1 Sun May 9 11:07:48 2004 +++ phpdoc/en/reference/dom/functions/dom-domelement-getelementsbytagname.xml Sat Oct 30 11:42:53 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id='function.dom-domelement-getelementsbytagname'> <refnamediv> <refname>DOMElement->getElementsByTagName</refname> @@ -12,10 +12,12 @@ <methodparam><type>string</type><parameter>name</parameter></methodparam> </methodsynopsis> <para> - This function returns a new instance of class - <classname>DOMNodeList</classname> containing the elements with tagnames - matching the name parameter. Use "*" for the name to return all elements - within the document. + This function returns a new instance of the class + <classname>DOMNodeList</classname> of all descendant elements with a + given tag <parameter>name</parameter>, in the order in which they are + encountered in a preorder traversal of this element tree. Use "*" as + the <parameter>name</parameter> to return all elements within the element + tree. </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/dom/functions/dom-domelement-getelementsbytagnamens.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc/en/reference/dom/functions/dom-domelement-getelementsbytagnamens.xml diff -u phpdoc/en/reference/dom/functions/dom-domelement-getelementsbytagnamens.xml:1.1 phpdoc/en/reference/dom/functions/dom-domelement-getelementsbytagnamens.xml:1.2 --- phpdoc/en/reference/dom/functions/dom-domelement-getelementsbytagnamens.xml:1.1 Sun May 9 11:07:48 2004 +++ phpdoc/en/reference/dom/functions/dom-domelement-getelementsbytagnamens.xml Sat Oct 30 11:42:53 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id='function.dom-domelement-getelementsbytagnamens'> <refnamediv> <refname>DOMElement->getElementsByTagNameNS</refname> @@ -13,10 +13,13 @@ <methodparam><type>string</type><parameter>localName</parameter></methodparam> </methodsynopsis> <para> - This function returns a new instance of class - <classname>DOMNodeList</classname> containing the elements in the - namespace <parameter>namespaceURI</parameter> having localName. - Use "*" for the name to return all elements within the document. + This function returns a new instance of the class + <classname>DOMNodeList</classname>, which lists all the descendant + elements with a given <parameter>localName</parameter> and + <parameter>namespaceURI</parameter> in the order in which they are + encountered in a preorder traversal of this element tree. + Use "*" for the local name to return all elements within the element + tree. </para> </refsect1> </refentry>