[xml] DTDs, Namespaces, and Plugin Modules

Date view Thread view Subject view Author view

From: Ari Johnson (ari@lusis.org)
Date: Thu Mar 23 2000 - 19:53:06 EST


I am writing a program and intend to use XML for its internal
configuration settings and its database. I would like to use a DTD and
Namespaces, but there is a problem:

The database consists of objects of varying types (all based off the
same C++ base class), which have to store various numerical and textual
bits of information about themselves in the XML file. Plugin modules are
able to add their own sub-classes to this hierarchy, as well as their
entire own sections of the file (there will be one tree for configuration
options, one for the database of objects, and others as required, all
below the root node of the XML document). This makes writing a DTD very
difficult, as the types of elements that can occur under both the room and
the database trees can vary depending on which plugin modules are
installed.

Is there a good way to go about this, or am I better off going without a
DTD? Also, how might namespaces benefit me, and where can I find
more/better documentation on them?

Thanks for whoever's time is offered. :)

----
Message from the list xml@xmlsoft.org
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@xmlsoft.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:30:08 EDT