Document Object Model
- 소개
- 설치/구성
- 미리 정의된 상수
- Examples
- DOMAttr - DOMAttr 클래스
- DOMAttr::__construct — 새로운 DOMAttr 객체를 생성합니다.
- DOMAttr::isId — 속성이 정의된 ID인지 확인
- DOMCdataSection - DOMCdataSection 클래스
- DOMCdataSection::__construct — 새로운 DOMCdataSection 객체를 생성합니다.
- DOMCharacterData - DOMCharacterData 클래스
- DOMCharacterData::appendData — 노드의 문자 데이터 끝에 문자열 추가
- DOMCharacterData::deleteData — 노드에서 문자 범위 제거
- DOMCharacterData::insertData — 지정된 16비트 단위 오프셋에 문자열 삽입
- DOMCharacterData::replaceData — DOMCharacterData 노드 내에서 하위 문자열 바꾸기
- DOMCharacterData::substringData — 노드에서 데이터 범위 추출
- DOMChildNode - DOMChildNode 인터페이스
- DOMChildNode::after — 노드 뒤에 노드 추가
- DOMChildNode::before — 노드 앞에 노드를 추가합니다.
- DOMChildNode::remove — 노드를 제거합니다.
- DOMChildNode::replaceWith — 노드를 새 노드로 교체
- DOMComment - DOMComment 클래스
- DOMComment::__construct — 새로운 DOMComment 객체를 생성합니다.
- DOMDocument - DOMDocument 클래스
- DOMDocument::__construct — 새로운 DOMDocument 객체를 생성합니다.
- DOMDocument::createAttribute — 새 속성 만들기
- DOMDocument::createAttributeNS — 연결된 네임스페이스가 있는 새 속성 노드 만들기
- DOMDocument::createCDATASection — 새 cdata 노드 생성
- DOMDocument::createComment — 새 댓글 노드 만들기
- DOMDocument::createDocumentFragment — 새 문서 조각 만들기
- DOMDocument::createElement — 새 요소 노드 만들기
- DOMDocument::createElementNS — 연결된 네임스페이스가 있는 새 요소 노드 만들기
- DOMDocument::createEntityReference — 새 엔터티 참조 노드 만들기
- DOMDocument::createProcessingInstruction — 새 PI 노드 생성
- DOMDocument::createTextNode — 새 텍스트 노드 만들기
- DOMDocument::getElementById — 특정 ID를 가진 요소를 검색합니다.
- DOMDocument::getElementsByTagName — 주어진 로컬 태그 이름을 가진 모든 요소를 검색합니다.
- DOMDocument::getElementsByTagNameNS — 지정된 네임스페이스에서 지정된 태그 이름을 가진 모든 요소를 검색합니다.
- DOMDocument::importNode — 노드를 현재 문서로 가져오기
- DOMDocument::load — 파일에서 XML 로드
- DOMDocument::loadHTML — 문자열에서 HTML 로드
- DOMDocument::loadHTMLFile — 파일에서 HTML 로드
- DOMDocument::loadXML — 문자열에서 XML 로드
- DOMDocument::normalizeDocument — 문서를 표준화합니다.
- DOMDocument::registerNodeClass — 기본 노드 유형을 생성하는 데 사용되는 확장 클래스 등록
- DOMDocument::relaxNGValidate — 문서에 대해 RelaxNG 유효성 검사를 수행합니다.
- DOMDocument::relaxNGValidateSource — 문서에 대해 RelaxNG 유효성 검사를 수행합니다.
- DOMDocument::save — 내부 XML 트리를 파일로 다시 덤프
- DOMDocument::saveHTML — HTML 형식을 사용하여 내부 문서를 문자열로 덤프합니다.
- DOMDocument::saveHTMLFile — HTML 형식을 사용하여 내부 문서를 파일로 덤프합니다.
- DOMDocument::saveXML — 내부 XML 트리를 다시 문자열로 덤프합니다.
- DOMDocument::schemaValidate — 스키마를 기반으로 문서의 유효성을 검사합니다. XML 스키마 1.0만 지원됩니다.
- DOMDocument::schemaValidateSource — 스키마를 기반으로 문서 유효성 검사
- DOMDocument::validate — DTD를 기반으로 문서의 유효성을 검사합니다.
- DOMDocument::xinclude — DOMDocument 개체에서 XIncludes 대체
- DOMDocumentFragment - DOMDocumentFragment 클래스
- DOMDocumentFragment::appendXML — 원시 XML 데이터 추가
- DOMDocumentFragment::__construct — DOMDocumentFragment 객체를 생성합니다.
- DOMDocumentType - DOMDocumentType 클래스
- DOMElement - DOMElement 클래스
- DOMElement::__construct — 새로운 DOMElement 객체를 생성합니다.
- DOMElement::getAttribute — 성 값을 반환
- DOMElement::getAttributeNode — 성 노드를 반환합니다.
- DOMElement::getAttributeNodeNS — 속성 노드를 반환합니다.
- DOMElement::getAttributeNS — 속성 값을 반환
- DOMElement::getElementsByTagName — 태그 이름으로 요소를 가져옵니다.
- DOMElement::getElementsByTagNameNS — namespaceURI 및 localName으로 요소 가져오기
- DOMElement::hasAttribute — 속성이 존재하는지 확인
- DOMElement::hasAttributeNS — 속성이 존재하는지 확인
- DOMElement::removeAttribute — 속성 제거
- DOMElement::removeAttributeNode — 속성 제거
- DOMElement::removeAttributeNS — 속성 제거
- DOMElement::setAttribute — 새 속성을 추가하거나 기존 속성을 수정합니다.
- DOMElement::setAttributeNode — 요소에 새 속성 노드를 추가합니다.
- DOMElement::setAttributeNodeNS — 요소에 새 속성 노드를 추가합니다.
- DOMElement::setAttributeNS — 새 속성 추가
- DOMElement::setIdAttribute — 이름으로 지정된 속성을 ID 유형으로 선언합니다.
- DOMElement::setIdAttributeNode — 노드에 의해 지정된 속성이 ID 유형임을 선언합니다.
- DOMElement::setIdAttributeNS — 로컬 이름 및 네임스페이스 URI로 지정된 속성이 ID 유형임을 선언합니다.
- DOMEntity - DOMEntity 클래스
- DOMEntityReference - DOMEntityReference 클래스
- DOMEntityReference::__construct — 새로운 DOMEntityReference 객체를 생성합니다.
- DOMException - DOMException 클래스
- DOMImplementation - DOMImplementation 클래스
- DOMImplementation::__construct — 새로운 DOMImplementation 객체를 생성합니다.
- DOMImplementation::createDocument — 문서 요소와 함께 지정된 유형의 DOMDocument 객체를 생성합니다.
- DOMImplementation::createDocumentType — 빈 DOMDocumentType 객체를 생성합니다.
- DOMImplementation::hasFeature — DOM 구현이 특정 기능을 구현하는지 테스트
- DOMNamedNodeMap - DOMNamedNodeMap 클래스
- DOMNamedNodeMap::count — 맵의 노드 수 가져오기
- DOMNamedNodeMap::getNamedItem — 이름으로 지정된 노드를 검색합니다.
- DOMNamedNodeMap::getNamedItemNS — 로컬 이름과 네임스페이스 URI로 지정된 노드를 검색합니다.
- DOMNamedNodeMap::item — 인덱스로 지정된 노드를 검색합니다.
- DOMNode - DOMNode 클래스
- DOMNode::appendChild — 자식의 끝에 새 자식을 추가합니다.
- DOMNode::C14N — 노드를 문자열로 정규화
- DOMNode::C14NFile — 노드를 파일로 정규화
- DOMNode::cloneNode — 노드 복제
- DOMNode::getLineNo — 노드의 줄 번호 가져오기
- DOMNode::getNodePath — 노드에 대한 XPath 가져오기
- DOMNode::hasAttributes — 노드에 속성이 있는지 확인
- DOMNode::hasChildNodes — 노드에 자식이 있는지 확인
- DOMNode::insertBefore — 참조 노드 앞에 새 자식을 추가합니다.
- DOMNode::isDefaultNamespace — 지정된 namespaceURI가 기본 네임스페이스인지 확인합니다.
- DOMNode::isSameNode — 두 노드가 동일한 노드인지 여부를 나타냅니다.
- DOMNode::isSupported — 지정된 버전에서 기능이 지원되는지 확인
- DOMNode::lookupNamespaceUri — 접두사를 기반으로 노드의 네임스페이스 URI를 가져옵니다.
- DOMNode::lookupPrefix — 네임스페이스 URI를 기반으로 노드의 네임스페이스 접두사를 가져옵니다.
- DOMNode::normalize — 노드를 정규화합니다.
- DOMNode::removeChild — 자식 목록에서 자식 제거
- DOMNode::replaceChild — 자식 대체
- DOMNodeList - DOMNodeList 클래스
- DOMNodeList::count — 목록의 노드 수 가져오기
- DOMNodeList::item — 인덱스로 지정된 노드를 검색합니다.
- DOMNotation - DOMNotation 클래스
- DOMParentNode - DOMParentNode 인터페이스
- DOMParentNode::append — 마지막 자식 노드 뒤에 노드 추가
- DOMParentNode::prepend — 첫 번째 자식 노드 앞에 노드를 추가합니다.
- DOMProcessingInstruction - DOMProcessingInstruction 클래스
- DOMProcessingInstruction::__construct — 새로운 DOMProcessingInstruction 객체를 생성합니다.
- DOMText - DOMText 클래스
- DOMText::__construct — 새로운 DOMText 객체를 생성합니다.
- DOMText::isElementContentWhitespace — 이 텍스트 노드가 요소 콘텐츠에 공백을 포함하는지 여부를 반환합니다.
- DOMText::isWhitespaceInElementContent — 이 텍스트 노드에 공백이 포함되어 있는지 여부를 나타냅니다.
- DOMText::splitText — 지정된 오프셋에서 이 노드를 두 개의 노드로 나눕니다.
- DOMXPath - DOMXPath 클래스
- DOMXPath::__construct — 새로운 DOMXPath 객체를 생성합니다.
- DOMXPath::evaluate — 주어진 XPath 표현식을 평가하고 가능한 경우 형식화된 결과를 반환합니다.
- DOMXPath::query — 주어진 XPath 표현식을 평가합니다.
- DOMXPath::registerNamespace — DOMXPath 객체에 네임스페이스를 등록합니다.
- DOMXPath::registerPhpFunctions — PHP 함수를 XPath 함수로 등록
- DOM 함수
- dom_import_simplexml — SimpleXMLElement 객체에서 DOMElement 객체를 가져옵니다.