XMLReader::getAttributeNs
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
XMLReader::getAttributeNs — Get the value of an attribute by localname and URI
Parameters
name
-
The local name.
namespace
-
The namespace URI.
Return Values
The value of the attribute, or null if no attribute with the given
name and namespace is
found or not positioned of element.