xml/config.xml
author František Kučera <franta-hg@frantovo.cz>
Tue, 30 Apr 2019 20:04:06 +0200
branchv_0
changeset 249 7655df0622ee
parent 198 03d8492e2ca8
permissions -rw-r--r--
change XMLNS for the configuration Use The 'tag' URI Scheme <http://www.faqs.org/rfcs/rfc4151.html> Upgrade local configuration: sed 's@https://sql-dk.globalcode.info/xmlns/configuration@tag:globalcode.info,2018:sqldk/configuration@g' -i ~/.sql-dk/config.xml
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
141
ecd17aad1178 default config: no standalone
František Kučera <franta-hg@frantovo.cz>
parents: 119
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
119
f3e2b95a5f8a XSLT for viewing config files in a web browser (Firefox, rekonq etc.)
František Kučera <franta-hg@frantovo.cz>
parents: 117
diff changeset
     2
<?xml-stylesheet type="text/xsl" href="config.xsl"?>
249
7655df0622ee change XMLNS for the configuration
František Kučera <franta-hg@frantovo.cz>
parents: 198
diff changeset
     3
<configuration xmlns="tag:globalcode.info,2018:sqldk/configuration">
33
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     4
	
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     5
	<!-- Database Connections: -->
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     6
	<!--
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     7
	<database>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     8
		<name>my_postgres_1</name>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     9
		<url>jdbc:postgresql://localhost:5432/database_name</url>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    10
		<userName>dbuser</userName>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    11
		<password>dbpass</password>
198
03d8492e2ca8 Schemas and XSL for new 'driver' configuration option
František Kučera <franta-hg@frantovo.cz>
parents: 190
diff changeset
    12
		<driver>org.postgresql.Driver</driver>
33
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    13
	</database>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    14
	
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    15
	<database>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    16
		<name>my_mysql_1</name>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    17
		<url>jdbc:mysql://localhost:3306/database_name</url>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    18
		<userName>dbuser</userName>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    19
		<password>dbpass</password>
198
03d8492e2ca8 Schemas and XSL for new 'driver' configuration option
František Kučera <franta-hg@frantovo.cz>
parents: 190
diff changeset
    20
		<driver>com.mysql.jdbc.Driver</driver>
33
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    21
	</database>
172
dec1ba8af6c5 improved JDBC loopback driver
František Kučera <franta-hg@frantovo.cz>
parents: 141
diff changeset
    22
	
dec1ba8af6c5 improved JDBC loopback driver
František Kučera <franta-hg@frantovo.cz>
parents: 141
diff changeset
    23
	<database>
dec1ba8af6c5 improved JDBC loopback driver
František Kučera <franta-hg@frantovo.cz>
parents: 141
diff changeset
    24
		<name>loopback</name>
dec1ba8af6c5 improved JDBC loopback driver
František Kučera <franta-hg@frantovo.cz>
parents: 141
diff changeset
    25
		<url>jdbc:loopback://</url>
dec1ba8af6c5 improved JDBC loopback driver
František Kučera <franta-hg@frantovo.cz>
parents: 141
diff changeset
    26
	</database>
33
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    27
	-->
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    28
	
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    29
	<!-- Output formatters: -->
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    30
	<!--
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    31
	<defaultFormatter>tabular</defaultFormatter>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    32
	
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    33
	<formatter>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    34
		<name>tabular</name>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    35
		<class>info.globalcode.sql.dk.formatting.TabularFormatter</class>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    36
	</formatter>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    37
	
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    38
	<formatter>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    39
		<name>xml</name>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    40
		<class>info.globalcode.sql.dk.formatting.XmlFormatter</class>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    41
	</formatter>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    42
	
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    43
	<formatter>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    44
		<name>silent</name>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    45
		<class>info.globalcode.sql.dk.formatting.SilentFormatter</class>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    46
	</formatter>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    47
	-->
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    48
	
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    49
</configuration>