update : 2015.11.03
php.shukuma.com검색:
|
DOMImplementation::createDocumentType(PHP 5, PHP 7) DOMImplementation::createDocumentType — Creates an empty DOMDocumentType object 설명
public DOMDocumentType DOMImplementation::createDocumentType
([ string
$qualifiedName = NULL
[, string $publicId = NULL
[, string $systemId = NULL
]]] )Creates an empty DOMDocumentType object. Entity declarations and notations are not made available. Entity reference expansions and default attribute additions do not occur. 인수
반환값
A new DOMDocumentType node with its
ownerDocument set to 오류/예외
이 메소드는 정적으로 호출할 수있지만, 예제
Example #1 Creating a document with an attached DTD
<?php 위 예제의 출력: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE graph SYSTEM "graph.dtd"> <graph/> 참고
|