XMLReader
PHP 手册

XMLReader::moveToNextAttribute

(PHP 5 >= 5.1.2)

XMLReader::moveToNextAttributePosition cursor on the next Attribute

说明

bool XMLReader::moveToNextAttribute ( void )

Moves cursor to the next Attribute if positioned on an Attribute or moves to first attribute if positioned on an Element.

返回值

如果成功则返回 TRUE,失败则返回 FALSE

参见


XMLReader
PHP 手册