note 22437 added to function.domelement-get-elements-by-tagname

From: Date: Tue, 18 Jun 2002 14:02:44 +0000
Subject: note 22437 added to function.domelement-get-elements-by-tagname
Groups: php.notes 
Request: Send a blank email to php-notes+get-31973@lists.php.net to get a copy of this message
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 -- http://www.php.net/manual/en/function.domelement-get-elements-by-tagname.php http://master.php.net/manage/user-notes.php?action=edit+22437 http://master.php.net/manage/user-notes.php?action=delete+22437 http://master.php.net/manage/user-notes.php?action=reject+22437

« previous php.notes (#31973) next »