note 97824 added to domdocument.getelementsbytagname
| From: | kjhseka at hotmail dot com | Date: | Mon, 10 May 2010 18:37:55 +0000 |
| Subject: | note 97824 added to domdocument.getelementsbytagname | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-169128@lists.php.net to get a copy of this message | ||
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
----
Server IP: 69.147.83.197
Probable Submitter: 190.6.74.102
----
Manual Page -- http://www.php.net/manual/en/domdocument.getelementsbytagname.php
Edit -- https://master.php.net/note/edit/97824
Del: integrated -- https://master.php.net/note/delete/97824/integrated
Del: useless -- https://master.php.net/note/delete/97824/useless
Del: bad code -- https://master.php.net/note/delete/97824/bad+code
Del: spam -- https://master.php.net/note/delete/97824/spam
Del: non-english -- https://master.php.net/note/delete/97824/non-english
Del: in docs -- https://master.php.net/note/delete/97824/in+docs
Del: other reasons-- https://master.php.net/note/delete/97824
Reject -- https://master.php.net/note/reject/97824
Search -- https://master.php.net/manage/user-notes.php