(PHP 5 >= 5.1.0)
XMLReader::moveToAttributeNo — Move cursor to an attribute by index
$index
Positions cursor on attribute based on its position.
index
The position of the attribute.
成功时返回 TRUE, 或者在失败时返回 FALSE。
TRUE
FALSE