|
PHP5中文手册
DomElement->get_elements_by_tagname()(No version information available, might be only in CVS) DomElement->get_elements_by_tagname() — Gets elements by tagname 说明DomElement
array get_elements_by_tagname
( string $name
)
Gets all the sub elements with the specific name within the current element. 参数
返回值Returns an array of DomElement objects. 范例
Example#1 Getting a content
<?php Migrating to PHP 5 |