WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

DOMImplementation

This object is available to unprivileged JavaScript. It implements the following interfaces:

Methods

Document createDocument ( String namespaceURI , String qualifiedName , DocumentType doctype ) DocumentType createDocumentType ( String qualifiedName , String publicId , String systemId ) boolean hasFeature ( String feature , String version )

Document createDocument ( String namespaceURI , String qualifiedName , DocumentType doctype )

Arguments:
namespaceURI
qualifiedName
doctype

DocumentType createDocumentType ( String qualifiedName , String publicId , String systemId )

Arguments:
qualifiedName
publicId
systemId

boolean hasFeature ( String feature , String version )

The nsIDOMDOMImplementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.

For more information on this interface please see http://www.w3.org/TR/DOM-Level-2-Core/

Arguments:
feature
version

Reference documentation is generated from Mozilla's source.