« XMLReader::moveToAttributeNs
XMLReader::moveToFirstAttribute »

XMLReader::moveToElement

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

XMLReader::moveToElement — 現在の属性の親要素にカーソルを移動する

説明

public function XMLReader::moveToElement(): bool

現在の属性の親要素にカーソルを移動します。

パラメータ

この関数にはパラメータはありません。

戻り値

成功した場合に true、失敗した場合、 あるいはメソッドがコールされた際の位置が属性ノードではなかった場合に false を返します。

参考

関連キーワード:
XMLReader   属性   カーソル   moveToElement   moveToAttributeNs   moveToFirstAttribute   成功   ノード   参考   moveToAttribute   moveToAttributeNo   インデックス   最初
関連する関数・ページ:
xmlreader.movetoattributens   xmlreader.movetofirstattribute   xmlreader.movetoattribute   xmlreader.movetoattributeno   xmlreader.movetonextattribute   book.xmlreader