XML DTD (schema) as database schema (DDL)

Chen, Weijing wchen at tri.sbc.com
Wed Oct 20 23:52:58 BST 1999


I am thinking about using XML DTD (or its schema specification) as a DDL to
define schema of a database. Following is the simularity of XML and
traditional SQL:

	DTD			database schema
	a huge XML document	database table
	XML query language	SQL
	small XML document	SQL query result

Now logically you are not storing data into traditional SQL table, but as a
large XML document. Physically they could still relational database, or
object database. The advantage of this is that XML is object-oriented. It is
much easy and close to real application to model in XML than SQL.

A step farther, one could use XML to model his specific domain and provide a
query engine to handle the query and dispatch it to an application module.
In this environment, there is not actually physical database but application
process running behind the scene. The user will have all the freedom
provided by XML query language to manipulate system as he want. No more API.

What your thought? Anybody out there build such framework?

Weijing Chen

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)

More information about the Xml-dev mailing list