DOMImplementation::createDocumentTypeCreates an empty DOMDocumentType object Description
public DOMDocumentTypefalse DOMImplementation::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. Parameters
Return Values
A new DOMDocumentType node with its
Errors/Exceptions
Changelog
Examples
Example #1 Creating a document with an attached DTD
The above example will output: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE graph SYSTEM "graph.dtd"> <graph/> See Also
|