note 97824 rejected from domdocument.getelementsbytagname by danbrown
| From: | danbrown@php.net | Date: | Mon, 10 May 2010 18:43:13 +0000 |
| Subject: | note 97824 rejected from domdocument.getelementsbytagname by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-169129@lists.php.net to get a copy of this message | ||
Note Submitter: kjhseka at hotmail dot com
----
Hello,
I'm not sure if my note is a support request, a feature request or an important observation due
to lack of information.
The getElementsByTagName method returns the NodeList of element nodes with the specified name. Ok,
but what it returns if it doesn't find anything? What it returns if the parsed xml tag
doesn't exist or if it doesn't have a value? Null? Empty string? Random value?
I consider that this information is important and it should be included in the reference manual.
A. Langueduc