For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > October 2004 > #29817 [Opn->Csd]: DOMElement->getElementsByTagName ( string name)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #29817 [Opn->Csd]: DOMElement->getElementsByTagName ( string name)
didou@php.net

2004-10-30, 3:55 pm

ID: 29817
Updated by: didou@php.net
Reported By: erik at nordicaudi dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
PHP Version: 5.0.0
New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.




Previous Comments:
------------------------------------------------------------------------

[2004-08-24 16:24:00] erik at nordicaudi dot com

Description:
------------
Published version (16-08-2004), VI. Function Reference, XXIV. DOM
Functions

object DOMElement->getElementsByTagName ( string name)

This function returns a new instance of class DOMNodeList containing
the elements with tagnames matching the name parameter. Use "*" for the
name to return all elements within the document.

--------------------------

Maybee its more correct to describe the function as follows:

"Returns a a new instance of class DOMNodeList of all descendant
elements with a given tag name, in the order in which they are
encountered in a preorder traversal of this element tree.
Use "*" for the name to return all elements within this element tree."

W3C description is as follows:

"Returns a NodeList of all descendant Elements with a given tag name,
in the order in which they are encountered in a preorder traversal of
this Element tree."



------------------------------------------------------------------------


--
Edit this bug report at http://bugs.php.net/?id=29817&edit=1
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com