XML DOM tutoria...login
XML DOM tutorial
author:php.cn  update time:2022-04-13 15:27:56

DOM DocumentImplementation


XML DOM - DocumentImplementation Object


DocumentImplementation Object

DOMImplementation The operation performed by the DOMImplementation object is independent of any of the Document Object Model specific instance.

DocumentImplementation object method

MethodDescription
createDocument(nsURI, name, doctype)Create a new DOM Document object of the specified document type.
createDocumentType(name, pubId, systemId)Create an empty DocumentType node.
getFeature(feature, version)Returns an object that can execute the API with the specified feature and version.
hasFeature(feature, version)Check whether the DOM implementation implements the specified feature and version.

php.cn