Javascript Reference
Categories: implementation

javascript implementation createDocumentType( )

@March 15, 2008, 1:22 a.m.
createDocumentType( )Firefox/Netscape/NN 6 IE n/a Chrome/Safari/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.


Powered by Linode.