xml/config.rnc
author František Kučera <franta-hg@frantovo.cz>
Fri, 10 Jan 2014 23:28:07 +0100
branchv_0
changeset 156 8363deea77fc
parent 120 940681695aa4
child 198 03d8492e2ca8
permissions -rw-r--r--
Added tag v0.8 for changeset eb3676c6929b
     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 property {
    28 				attribute name { text },
    29 				text
    30 			}*
    31 		}*,
    32 		
    33 		element defaultFormatter { text }?,
    34 		
    35 		element formatter {
    36 			element name { text },
    37 			element class { text },
    38 			element property {
    39 				attribute name { text },
    40 				text
    41 			}*
    42 		}*
    43 	}