(PHP 5 >= 5.1.0, PHP 7)
XMLReader::moveToAttribute — Move cursor to a named attribute
$name
Positions cursor on the named attribute.
name
The name of the attribute.
Returns TRUE on success or FALSE on failure.
TRUE
FALSE