/*
* DOM.c : implementation of the DOM interface as defined by
* Document Object Model (Core) Level 1
* http://www.w3.org/TR/WD-DOM/level-one-core.html
*
* Daniel.Veillard@w3.org
*
* $Id: DOM.c,v 1.1 1998/06/14 03:21:13 daniel Exp $
*/
#include "config.h"
#include <stdio.h>
#include "DOM.h"
/*
* Request for document creation.
*/
domDocumentPtr domDOMcreateDocument(char *type) {
domDocumentPtr ret = NULL;
#ifdef DEBUG_DOM
fprintf(stderr, "domDOMcreateDocument(%s)\n", type);
#endif
if (!strcmp(type, "XML")) {
/* TODO */
} else if (!strcmp(type, "XML")) {
/* TODO */
} else {
fprintf(stderr, "domDOMcreateDocument(%s) : unknown type\n", type);
}
return(ret);
}
/*
* Check for features.
*/
int domDOMhasFeature(char *feature) {
return(0);
}
Webmaster