DOM_Implementation - the Document Object Model (DOM) DOM_Implementation
interface
#include <domc.h>
int DOM_Implementation_hasFeature(DOM_Implementation *this,
DOM_String *feature,
DOM_String *version);
DOM_Document *DOM_Implementation_createDocumentType(DOM_Implementation *this,
DOM_String *qualifiedName,
DOM_String *publicId,
DOM_String *systemId);
DOM_Document *DOM_Implementation_createDocument(DOM_Implementation *this,
DOM_String *namespaceURI,
DOM_String *qualifiedName,
DOM_Document *doctype);
This DOM_Implementation interface provides functions for testing the
functionality of a DOM implementation as well as creating DOM_Document
and DOM_DocumentType nodes.
- hasFeature
- This function currently returns only 0 regardless of what parameters are
specified.
- createDocumentType
- The DOM_Implementation_createDocumentType function creates an empty
DOM_DocumentType node into which DOM_Entity,
DOM_Notation, and possibly other type may be placed. Because there
is no context document specified, a new DOM_DocumentType node will
have a NULL ownerDocument member.
Currently this function is not fully implemented. Most
infrastructure is in place however external entities are not parsed and
default DTD values are not supported. The current DOM recommendations do
not yet specify how this node type should be populated.
- createDocument
- Creates an XML Document object of the specified type with its
document element. HTML-only DOM implementations do not need to implement
this method.
- createDocument
- A new Document object.