git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@171649 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mehdi Achour 2004-10-30 15:42:53 +00:00
parent 9871d64016
commit 48e7161457
2 changed files with 15 additions and 10 deletions

View file

@ -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>

View file

@ -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>