File:  [Public] / DOM / DOM.c
Revision 1.1: download - view: text, annotated - select for diffs
Sun Jun 14 03:21:13 1998 UTC (25 years, 11 months ago) by daniel
Branches: MAIN
CVS tags: HEAD
Added DOM module, Daniel.

/*
 * 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