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
     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, version 3 of the License.
     7 # 
     8 # This program is distributed in the hope that it will be useful,
     9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    11 # GNU General Public License for more details.
    12 # 
    13 # You should have received a copy of the GNU General Public License
    14 # along with this program. If not, see <http://www.gnu.org/licenses/>.
    15 
    16 default namespace = "tag:globalcode.info,2018:sqldk/configuration"
    17 
    18 start =
    19 	element configuration {
    20 		
    21 		element database {
    22 			element name { text },
    23 			element url { text },
    24 			element userName { text }?,
    25 			element password { text }?,
    26 			element driver { text }?,
    27 			element property {
    28 				attribute name { text },
    29 				text
    30 			}*,
    31 			element tunnel {
    32 				element command { text },
    33 				element argument {
    34 					attribute type { "literal" | "host" | "port" | "env" | "dbProperty" }?,
    35 					text
    36 				}*
    37 			}?
    38 		}*,
    39 		
    40 		element defaultFormatter { text }?,
    41 		
    42 		element formatter {
    43 			element name { text },
    44 			element class { text },
    45 			element property {
    46 				attribute name { text },
    47 				text
    48 			}*
    49 		}*
    50 	}