[gnome-db] config file DTD
- From: Margus Väli <mvali hot ee>
- To: Gnome-db list <gnome-db-list gnome org>
- Subject: [gnome-db] config file DTD
- Date: 08 Jun 2002 23:12:48 +0200
Gonzalo gave me part of the DSN config DTD,
so I propose adding it to the
/etc/libgda/config file (attached modified version from unstable .deb)
It now validates Ok with xmllint --valid --noout
mv
<?xml version="1.0"?>
<!DOCTYPE libgda-config [
<!ELEMENT libgda-config (section)+>
<!ELEMENT section (entry)*>
<!ATTLIST section
path CDATA #REQUIRED>
<!ELEMENT entry EMPTY>
<!ATTLIST entry
name CDATA #REQUIRED
type CDATA #REQUIRED
value CDATA #REQUIRED>
]>
<libgda-config>
<section path="/apps/libgda/Datasources/Default">
<entry name="Provider" type="string" value="Default"/>
<entry name="Username" type="string" value="nouser"/>
<entry name="DSN" type="string" value="URI=/tmp/gnome-db-test.db"/>
<entry name="Description" type="string" value="Default libgda provider"/>
</section>
</libgda-config>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]