xml/config.rnc
author František Kučera <franta-hg@frantovo.cz>
Sun, 24 May 2015 19:17:50 +0200
branchv_0
changeset 201 d3db5a72a089
parent 198 03d8492e2ca8
child 203 504c4ba56d1c
permissions -rw-r--r--
InfoLister: sort rows in --list-java-properties and --list-environment-variables
franta-hg@120
     1
# SQL-DK
franta-hg@120
     2
# Copyright © 2013 František Kučera (frantovo.cz)
franta-hg@120
     3
# 
franta-hg@120
     4
# This program is free software: you can redistribute it and/or modify
franta-hg@120
     5
# it under the terms of the GNU General Public License as published by
franta-hg@120
     6
# the Free Software Foundation, either version 3 of the License, or
franta-hg@120
     7
# (at your option) any later version.
franta-hg@120
     8
# 
franta-hg@120
     9
# This program is distributed in the hope that it will be useful,
franta-hg@120
    10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
franta-hg@120
    11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
franta-hg@120
    12
# GNU General Public License for more details.
franta-hg@120
    13
# 
franta-hg@120
    14
# You should have received a copy of the GNU General Public License
franta-hg@120
    15
# along with this program. If not, see <http://www.gnu.org/licenses/>.
franta-hg@120
    16
franta-hg@113
    17
default namespace = "https://sql-dk.globalcode.info/xmlns/configuration"
franta-hg@113
    18
franta-hg@113
    19
start =
franta-hg@113
    20
	element configuration {
franta-hg@113
    21
		
franta-hg@113
    22
		element database {
franta-hg@113
    23
			element name { text },
franta-hg@113
    24
			element url { text },
franta-hg@113
    25
			element userName { text }?,
franta-hg@113
    26
			element password { text }?,
franta-hg@198
    27
			element driver { text }?,
franta-hg@113
    28
			element property {
franta-hg@113
    29
				attribute name { text },
franta-hg@113
    30
				text
franta-hg@113
    31
			}*
franta-hg@113
    32
		}*,
franta-hg@113
    33
		
franta-hg@113
    34
		element defaultFormatter { text }?,
franta-hg@113
    35
		
franta-hg@113
    36
		element formatter {
franta-hg@113
    37
			element name { text },
franta-hg@113
    38
			element class { text },
franta-hg@113
    39
			element property {
franta-hg@113
    40
				attribute name { text },
franta-hg@113
    41
				text
franta-hg@113
    42
			}*
franta-hg@113
    43
		}*
franta-hg@113
    44
	}