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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>