(PHP 5 >= 5.1.0)
XMLReader::moveToAttribute — Move cursor to a named attribute
$name
Positions cursor on the named attribute.
name
The name of the attribute.
成功时返回 TRUE, 或者在失败时返回 FALSE.
TRUE
FALSE