XMLReader
PHP Manual

XMLReader::next

(PHP 5 >= 5.1.2)

XMLReader::next — Move cursor to next node skipping all subtrees

说明

XMLReader
bool 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