xml/config.xml
author František Kučera <franta-hg@frantovo.cz>
Fri, 10 Jan 2014 23:21:28 +0100
branchv_0
changeset 155 eb3676c6929b
parent 141 ecd17aad1178
child 172 dec1ba8af6c5
permissions -rw-r--r--
more JavaDoc
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"?>
33
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     3
<configuration xmlns="https://sql-dk.globalcode.info/xmlns/configuration">
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>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    12
	</database>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    13
	
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    14
	<database>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    15
		<name>my_mysql_1</name>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    16
		<url>jdbc:mysql://localhost:3306/database_name</url>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    17
		<userName>dbuser</userName>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    18
		<password>dbpass</password>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    19
	</database>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    20
	-->
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    21
	
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    22
	<!-- Output formatters: -->
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    23
	<!--
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    24
	<defaultFormatter>tabular</defaultFormatter>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    25
	
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    26
	<formatter>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    27
		<name>tabular</name>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    28
		<class>info.globalcode.sql.dk.formatting.TabularFormatter</class>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    29
	</formatter>
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
	<formatter>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    32
		<name>xml</name>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    33
		<class>info.globalcode.sql.dk.formatting.XmlFormatter</class>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    34
	</formatter>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    35
	
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
		<name>silent</name>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    38
		<class>info.globalcode.sql.dk.formatting.SilentFormatter</class>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    39
	</formatter>
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    40
	-->
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    41
	
04db6ccd6c48 configuration loading from XML
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    42
</configuration>