Deutsch | English | Español | Français |
Italiano | 日本語 | 한국어 | Português |
Pусский | 简体中文 | 繁體中文 |
Provides properties that describe the document type of a document object.
![]() ![]() |
Members
The documentType object has these types of members:
Methods
The documentType object has these methods.
Method | Description |
---|---|
appendChild |
Appends an element as a child to the object. |
cloneNode |
Copies a reference to the object from the document hierarchy. |
compareDocumentPosition |
Compares the position of two nodes in a document. |
insertBefore |
Inserts an element into the document hierarchy as a child node of a parent object. |
isDefaultNamespace |
Indicates whether or not a namespace is the default namespace for a document. |
isEqualNode |
Determines if two nodes are equal. |
isSameNode |
Determines if two node references refer to the same node. |
isSupported |
Returns a value indicating whether or not the object supports a specific DOM standard. |
lookupNamespaceURI |
Gets the URI of the namespace associated with a namespace prefix, if any. |
lookupPrefix |
Gets the namespace prefix associated with a URI, if any. |
removeChild |
Removes a child node from the object. |
removeNode |
Removes the object from the document hierarchy. |
replaceChild |
Replaces an existing child element with a new child element. |
replaceNode |
Replaces the object with another element. |
swapNode |
Exchanges the location of two objects in the document hierarchy. |
Properties
The documentType object has these properties.
Property | Description |
---|---|
Returns a null value. | |
Gets a reference to the first child in the childNodes collection of the object. | |
Returns a null value. | |
Gets a reference to the last child in the childNodes collection of an object. | |
Retrieves the local name of the fully qualified XML declaration for a node. | |
Gets the name of the root element of a document type. | |
Retrieves the namespace URI of the fully qualified XML declaration for a node. | |
Retrieves a reference to the next child of the parent for the object. | |
Gets the name of a particular type of node. | |
Retrieves the type of the requested node. | |
Gets or sets the value of a node. | |
Returns a null value. | |
Retrieves the document object associated with the node. | |
Retrieves the parent object in the document hierarchy. | |
Retrieves the local name of the fully qualified XML declaration for a node. | |
Gets a reference to the previous child of the parent for the object. | |
Gets the public identifier of a document type. | |
Gets the system identifier of a document type. | |
Sets or retrieves the text content of an object and any child objects. |
Standards information