|
DOMDocument::getElementsByTagNameSearches for all elements with given local tag name Description
public DOMNodeList DOMDocument::getElementsByTagName
( string
$name
)This function returns a new instance of class DOMNodeList containing all the elements with a given local tag name. Parameters
Return ValuesA new DOMNodeList object containing all the matched elements. Examples
Example #1 Basic Usage Example
<?php The above example will output: Patterns of Enterprise Application Architecture Design Patterns: Elements of Reusable Software Design Clean Code See Also
|