DOMDocumentType (class)
The DOMDocumentType class
Introduction
(PHP 5, PHP 7)
Each DOMDocument has a doctype attribute whose value is either NULL
or a DOMDocumentType object.
Class synopsis
public DOMNode DOMNode::appendChild ( DOMNode $newnode )
public string DOMNode::C14N ([ bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes ]]]] )
public int DOMNode::C14NFile ( string $uri [, bool $exclusive [, bool $with_comments [, array $xpath [, array $ns_prefixes ]]]] )
public DOMNode DOMNode::cloneNode ([ bool $deep ] )
public int DOMNode::getLineNo ( void )
public string DOMNode::getNodePath ( void )
public bool DOMNode::hasAttributes ( void )
public bool DOMNode::hasChildNodes ( void )
public DOMNode DOMNode::insertBefore ( DOMNode $newnode [, DOMNode $refnode ] )
public bool DOMNode::isDefaultNamespace ( string $namespaceURI )
public bool DOMNode::isSameNode ( DOMNode $node )
public bool DOMNode::isSupported ( string $feature , string $version )
public string DOMNode::lookupNamespaceURI ( string $prefix )
public string DOMNode::lookupPrefix ( string $namespaceURI )
public void DOMNode::normalize ( void )
public DOMNode DOMNode::removeChild ( DOMNode $oldnode )
public DOMNode DOMNode::replaceChild ( DOMNode $newnode , DOMNode $oldnode )}
Properties
- 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.
© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://secure.php.net/manual/en/class.domdocumenttype.php