|
PHP5中文手册
DOMDocument->getElementsByTagNameNS()(No version information available, might be only in CVS) DOMDocument->getElementsByTagNameNS() — Searches for all elements with given tag name in specified namespace 说明DOMDocument
DOMNodeList getElementsByTagNameNS
( string $namespaceURI
, string $localName
)
Returns a DOMNodeList of all elements with a given local name and a namespace URI. 参数
返回值A new DOMNodeList object containing all the matched elements. 范例
Example#1 Get all the XInclude elements
<?php 上例将输出:
|