©
This document uses PHP Chinese website manual Release
(PHP 5, PHP 7)
Each DOMDocument has a doctype
attribute whose value is either NULL
or a DOMDocumentType object.
$newnode
)$exclusive
[, bool $with_comments
[, array $xpath
[, array $ns_prefixes
]]]] )$uri
[, bool $exclusive
[, bool $with_comments
[, array $xpath
[, array $ns_prefixes
]]]] )$deep
] )$newnode
[, DOMNode $refnode
] )$namespaceURI
)$node
)$feature
, string $version
)$prefix
)$namespaceURI
)$oldnode
)$newnode
, DOMNode $oldnode
)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.