javascript implementation createDocumentType( )

createDocumentType( )NN 6 IE n/a DOM 2  

createDocumentType("qualifiedName", "publicID", "systemID")

  

Returns a reference to a newly created virtual W3C DOM DocumentType object. You can feed the object returned from this method to the DocumentImplementation.createDocument( ) method.

 
Parameters
 
  • String identifier for the qualified name for the new document element.
  • String of the public identifier for the DOCTYPE.
  • String of the system identifier (typically, the URI of the DTD file) for the DOCTYPE.
 
Returned Value

Reference to a DocumentType object not yet associated with a Document object.


1005,Nickname,Homepage or email,Comments here,Add comment