XMLReader XMLReader::moveToAttribute
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
XMLReader::moveToAttribute — 명명된 속성으로 커서 이동
설명
public XMLReader::moveToAttribute(string $name
): bool
명명된 속성에 커서를 놓습니다.
매개변수
name
- 속성의 이름입니다.
반환 값
성공하면 true
를, 실패하면 false
를 반환합니다.
기타
- XMLReader::moveToElement() - Position cursor on the parent Element of current Attribute
- XMLReader::moveToAttributeNo() - Move cursor to an attribute by index
- XMLReader::moveToAttributeNs() - Move cursor to a named attribute
- XMLReader::moveToFirstAttribute() - Position cursor on the first Attribute