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