Re: Error in doc for DOMElement->getElementsByTagName?
| From: | Erik Franzén | Date: | Wed, 25 Aug 2004 04:13:57 +0000 |
| Subject: | Re: Error in doc for DOMElement->getElementsByTagName? | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969363475@lists.php.net to get a copy of this message | ||
Done
/Erik
Friedhelm Betz wrote:
On Monday 23 August 2004 21:38, Erik Franzén wrote: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".Would you mind to file a bug report, classified as "Documantation Problem", at http://bugs.php.net about this issues? Doing so will ensure we keep track of. Thanks Friedhelm