The DOMDocumentType class
(PHP 5, PHP 7)
简介
Each DOMDocument has a doctype attribute whose value is either NULL
or a DOMDocumentType object.
类摘要
DOMDocumentType
extends DOMNode {
/* 属性 */
/* 继承的属性 */
/* 继承的方法 */
public
DOMNode::C14N ([
bool
$exclusive
[,
bool $with_comments
[,
array $xpath
[,
array $ns_prefixes
]]]] ) :
string
public
DOMNode::C14NFile (
string
}
$uri
[,
bool $exclusive
= FALSE
[,
bool $with_comments
= FALSE
[,
array $xpath
[,
array $ns_prefixes
]]]] ) :
int
属性
- publicId
-
The public identifier of the external subset.
- systemId
-
The system identifier of the external subset. This may be an absolute URI or not.
- name
-
The name of DTD; i.e., the name immediately following the DOCTYPE keyword.
- entities
-
A DOMNamedNodeMap containing the general entities, both external and internal, declared in the DTD.
- notations
-
A DOMNamedNodeMap containing the notations declared in the DTD.
- internalSubset
-
The internal subset as a string, or null if there is none. This does not contain the delimiting square brackets.