Current published version (16-08-2004)

Description
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."

DOMElement->getElementsByTagNameNS has the same "error".

/Erik

Reply via email to