Forum und email

XMLReader::moveToAttributeNo

(PHP 5 >= 5.1.2)

XMLReader::moveToAttributeNo — Move cursor to an attribute by index

說明

XMLReader
bool moveToAttributeNo ( int $index )

Positions cursor on attribute based on its position.

參數

index

The position of the attribute.

Return值

如果成功則回傳 TRUE,失敗則回傳 FALSE