XML DOM DOMImplementation Object - XML DOM

What is DOMImplementation Object of XML DOM?

The independent operations of a particular instance of a document object model is performed by many methods which are provided by DOMImplementation object.

What are the different methods provided by DOMImplementation object?

The methods of DOMImplementation object provided by XML DOM are:

S.No.
Method & Description
1
createDocument(namespaceURI, qualifiedName, doctype)
A DOM Document object is created with a document element which is of a specified type.
2
createDocumentType(qualifiedName, publicId, systemId)
It creates an emptyDocumentTypenode.
3
getFeature(feature, version)
A specialized object is returned by this method which enables to implement the APIs of specific feature and version, but now this has been removed, for which specs can be referred.
4
hasFeature(feature, version)
This method tests if the DOM implementation implements a specific feature and version.

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

XML DOM Topics