xml/config.rnc
author František Kučera <franta-hg@frantovo.cz>
Sun, 04 Feb 2024 16:10:37 +0100
branchv_0
changeset 255 099bb96f8d8d
parent 250 aae5009bd0af
permissions -rw-r--r--
tabular formatter: new option 'separateBy' to print horizontal separator on each change of given column
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@250
     6
# the Free Software Foundation, version 3 of the License.
franta-hg@120
     7
# 
franta-hg@120
     8
# This program is distributed in the hope that it will be useful,
franta-hg@120
     9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
franta-hg@120
    10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
franta-hg@120
    11
# GNU General Public License for more details.
franta-hg@120
    12
# 
franta-hg@120
    13
# You should have received a copy of the GNU General Public License
franta-hg@120
    14
# along with this program. If not, see <http://www.gnu.org/licenses/>.
franta-hg@120
    15
franta-hg@249
    16
default namespace = "tag:globalcode.info,2018:sqldk/configuration"
franta-hg@113
    17
franta-hg@113
    18
start =
franta-hg@113
    19
	element configuration {
franta-hg@113
    20
		
franta-hg@113
    21
		element database {
franta-hg@113
    22
			element name { text },
franta-hg@113
    23
			element url { text },
franta-hg@113
    24
			element userName { text }?,
franta-hg@113
    25
			element password { text }?,
franta-hg@198
    26
			element driver { text }?,
franta-hg@113
    27
			element property {
franta-hg@113
    28
				attribute name { text },
franta-hg@113
    29
				text
franta-hg@203
    30
			}*,
franta-hg@203
    31
			element tunnel {
franta-hg@203
    32
				element command { text },
franta-hg@203
    33
				element argument {
franta-hg@203
    34
					attribute type { "literal" | "host" | "port" | "env" | "dbProperty" }?,
franta-hg@203
    35
					text
franta-hg@203
    36
				}*
franta-hg@203
    37
			}?
franta-hg@113
    38
		}*,
franta-hg@113
    39
		
franta-hg@113
    40
		element defaultFormatter { text }?,
franta-hg@113
    41
		
franta-hg@113
    42
		element formatter {
franta-hg@113
    43
			element name { text },
franta-hg@113
    44
			element class { text },
franta-hg@113
    45
			element property {
franta-hg@113
    46
				attribute name { text },
franta-hg@113
    47
				text
franta-hg@113
    48
			}*
franta-hg@113
    49
		}*
franta-hg@113
    50
	}