= 5.1.0, PHP 7, PHP 8)XMLReader::moveToAttributeNs — Move cursor to a named attribute說明public XMLReader::moveToAtt">
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
XMLReader::moveToAttributeNs — Move cursor to a named attribute
$name
, string $namespace
): boolPositions cursor on the named attribute in specified namespace.
name
The local name.
namespace
The namespace URI.
成功時(shí)返回 true
, 或者在失敗時(shí)返回 false
。