PHP » GoLang |
login |
register |
about
|
GoLang DOMImplementation::createDocumentType
request it (395)
GoLang replacement for PHP's DOMImplementation::createDocumentType
[edit | history]
PHP DOMImplementation::createDocumentTypePHP original manual for DOMImplementation::createDocumentType [ show | php.net ]DOMImplementation::createDocumentType(PHP 5, PHP 7) DOMImplementation::createDocumentType — Creates an empty DOMDocumentType object Description
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. Parameters
Return Values
A new DOMDocumentType node with its
ownerDocument set to Errors/Exceptions
This method may be called statically, but will issue an Examples
Example #1 Creating a document with an attached DTD
<?php The above example will output: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE graph SYSTEM "graph.dtd"> <graph/> See Also
|
more
Recently updated
more
Most requested
more
Last requests
|