|
PHP5中文手册
DOMImplementation->createDocumentType()(No version information available, might be only in CVS) DOMImplementation->createDocumentType() — Creates an empty DOMDocumentType object 说明DOMImplementation
DOMDocumentType createDocumentType
([ string $qualifiedName
[, string $publicId
[, string $systemId
]]] )
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 NULL. 范例
Example#1 Creating a document with an attached DTD
<?php 上例将输出:
错误/异常
|