note 22437 deleted from function.domelement-get-elements-by-tagname by chregu
| From: | chregu@php.net | Date: | Tue, 25 Nov 2003 08:23:57 +0000 |
| Subject: | note 22437 deleted from function.domelement-get-elements-by-tagname by chregu | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-60951@lists.php.net to get a copy of this message | ||
Note Submitter: jon.sprague(at)itgco.com
----
Returns an array of all DOM elements whose tagnames match the argument.
ex.) $element_array = get_elements_by_tagname("car");
If you give an xpath to an attribute in the argument.
ex.) $element_array = get_elements_by_tagname("car/@color");
Then it returns an array of all DOM attributes whose name is "color" that are in the
elements whose tagname is "car".
-Jon