PHP - Manual: DOMNamedNodeMap::getNamedItemNS
2024-11-14
(PHP 5, PHP 7, PHP 8)
DOMNamedNodeMap::getNamedItemNS — Retrieves a node specified by local name and namespace URI
Retrieves a node specified by localName
and
namespace
.
namespace
The namespace URI of the node to retrieve.
localName
The local name of the node to retrieve.
A node (of any type) with the specified local name and namespace URI, or
null
if no node is found.
官方地址:https://www.php.net/manual/en/domnamednodemap.getnameditemns.php