(PHP 5 >= 5.1.0, PHP 7, PHP 8)
XMLReader::moveToAttribute — 將游標移至指定的屬性
$name
將游標定位在指定的屬性上。
name
屬性的名稱。
成功時回傳 true,失敗時回傳 false。
true
false