#include "SxmlNode.h"
#include <stdio.h>

int main() {
        SxmlDict *table;
        table = NewSxmlStrDict();

        SxmlDictSet(table,"arbre","tree");
        SxmlDictSet(table,"maison","home");
        printf("%s\n", SxmlDictSearch(table,"arbre"));    /* prints tree */
	if (!SxmlDictSearch(table,"route")) printf("((null))\n");

        SxmlDictSet(table,"chien","dog");
        printf("%s\n", SxmlDictSearch(table,"chien"));   /* sorts table and prints dog */
        SxmlFree(table);
	exit (EXIT_SUCCESS);
}
