DOM DOMElement::removeAttribute

(PHP 5, PHP 7, PHP 8)

DOMElement::removeAttribute — 속성 제거


설명

public DOMElement::removeAttribute(string $qualifiedName): bool

요소에서 qualifiedName이라는 속성을 제거합니다.


매개변수

qualifiedName
속성 이름입니다.

반환 값

성공하면 true를, 실패하면 false를 반환합니다.


오류/예외

DOM_NO_MODIFICATION_ALLOWED_ERR
노드가 읽기 전용이면 발생합니다.

기타