DOMDOCUMENTTYPE(3) 1 DOMDOCUMENTTYPE(3)
The DOMDocumentType class
INTRODUCTION
Each DOMDocument has a doctype attribute whose value is either NULL or a DOMDocumentType object.
CLASS SYNOPSIS
DOMDocumentType
DOMDocumentTypeextends
DOMNode
Properties
o readonlypublic string$publicId
o readonlypublic string$systemId
o readonlypublic string$name
o readonlypublic DOMNamedNodeMap$entities
o readonlypublic DOMNamedNodeMap$notations
o readonlypublic string$internalSubset
Inherited methods
o public DOMNode DOMNode::appendChild (DOMNode $newnode)
o public string DOMNode::C14N ([bool $exclusive], [bool $with_comments], [array $xpath], [array $ns_prefixes])
o public int DOMNode::C14NFile (string $uri, [bool $exclusive], [bool $with_comments], [array $xpath], [array $ns_prefixes])
o public DOMNode DOMNode::cloneNode ([bool $deep])
o public int DOMNode::getLineNo (void )
o public string DOMNode::getNodePath (void )
o public bool DOMNode::hasAttributes (void )
o public bool DOMNode::hasChildNodes (void )
o public DOMNode DOMNode::insertBefore (DOMNode $newnode, [DOMNode $refnode])
o public bool DOMNode::isDefaultNamespace (string $namespaceURI)
o public bool DOMNode::isSameNode (DOMNode $node)
o public bool DOMNode::isSupported (string $feature, string $version)
o public string DOMNode::lookupNamespaceURI (string $prefix)
o public string DOMNode::lookupPrefix (string $namespaceURI)
o public void DOMNode::normalize (void )
o public DOMNode DOMNode::removeChild (DOMNode $oldnode)
o public DOMNode DOMNode::replaceChild (DOMNode $newnode, DOMNode $oldnode)
PROPERTIES
o $publicId
-The public identifier of the external subset.
o $systemId
- The system identifier of the external subset. This may be an absolute URI or not.
o $name
- The name of DTD; i.e., the name immediately following the DOCTYPE keyword.
o $entities
- A DOMNamedNodeMap containing the general entities, both external and internal, declared in the DTD.
o $notations
- A DOMNamedNodeMap containing the notations declared in the DTD.
o $internalSubset
- The internal subset as a string, or null if there is none. This does not contain the delimiting square brackets.
PHP Documentation Group DOMDOCUMENTTYPE(3)