XMLReader
PHP Manual

XMLReader::next

(PHP 5 >= 5.1.2)

XMLReader::nextMove cursor to next node skipping all subtrees

说明

bool XMLReader::next ([ string $localname ] )

Positions cursor on the next node skipping all subtrees.

参数

localname

The name of the next node to move to.

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE.

参见


XMLReader
PHP Manual