OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   XML DTD (schema) as database schema (DDL)

[ Lists Home | Date Index | Thread Index ]
  • From: "Chen, Weijing" <wchen@tri.sbc.com>
  • To: "'xml-dev@ic.ac.uk'" <xml-dev@ic.ac.uk>
  • Date: Wed, 20 Oct 1999 16:50:54 -0500


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@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@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS