You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by tv...@etria.org on 2002/03/14 19:49:13 UTC

XML for describing databases?

Hey folks,

	I need to build a web interface to a whole bunch of databases.  To
limit the work I'll have to do, I would like to be able to define each
database in a XML file, and have the interface somewhat dynamically
generated from those files.

So, for one database named 'gesupply', part of the file gesupply.xml would
look like:

-------------------------------------------
<database>
	<dsn>postgresql://localhost/gesupply</dsn>
	<table name="contact">
		<row name="id">
			<parameter name="datatype" value="int4"/>
			<parameter name="visible" value="false"/>
		</row>
		<row name="name">
			<parameter name="datatype" value="text"/>
			<parameter name="visible" value="true"/>
		</row>

... etc ...

</database>
-------------------------------------------

The idea is, the xslt will generate the appropriate file(s) to provide a
basic interface to the database.....

My question is: anyone know if a schema/xml-application like this already 
exists?  Any searches for database+xml come up with dbxml or something
related whcih, unless I'm misunderstanding something, isnt of use in this
sort of application.

-Tom		

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>