DOM XML
PHP Manual

DomDocument->get_elements_by_tagname

(No version information available, might be only in CVS)

DomDocument->get_elements_by_tagname — Returns array with nodes with given tagname in document or empty array, if not found

说明

array DomDocument->get_elements_by_tagname ( string $name )

See also domdocument_add_root()


DOM XML
PHP Manual