Re: [xml] DTDs, Namespaces, and Plugin Modules

Date view Thread view Subject view Author view

From: Arturo Tena (arturo@directmail.org)
Date: Fri Mar 24 2000 - 14:10:27 EST


Hello!

Ari Johnson wrote:
>
> 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?

I guess you can express your objects using XSchema. Unfortunately, there are just a few
Working Drafts, none Recomendation.

http://www.w3.org/XML/Activity.html#schema-wg

-- 
Arturo Tena
arturo@directmail.org
----
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:09 EDT