array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'class.domdocumenttype.php', 1 => 'DOMDocumentType', ), 'up' => array ( 0 => 'book.dom.php', 1 => 'DOM', ), 'prev' => array ( 0 => 'domdocumentfragment.replacechildren.php', 1 => 'DOMDocumentFragment::replaceChildren', ), 'next' => array ( 0 => 'class.domelement.php', 1 => 'DOMElement', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/dom/domdocumenttype.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
Each DOMDocument has a doctype
attribute whose value is either null
or a DOMDocumentType object.
$exclusive
= false
,$withComments
= false
,$xpath
= null
,$nsPrefixes
= null
The public identifier of the external subset.
The system identifier of the external subset. This may be an absolute URI or not.
The name of DTD; i.e., the name immediately following the
DOCTYPE
keyword.
A DOMNamedNodeMap containing the general entities, both external and internal, declared in the DTD.
A DOMNamedNodeMap containing the notations declared in the DTD.
The internal subset as a string, or null
if there is none. This
does not contain the delimiting square brackets.