xml/config.xsd
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@115
     1
<?xml version="1.0" encoding="UTF-8"?>
franta-hg@120
     2
<!--
franta-hg@120
     3
SQL-DK
franta-hg@120
     4
Copyright © 2013 František Kučera (frantovo.cz)
franta-hg@120
     5
franta-hg@120
     6
This program is free software: you can redistribute it and/or modify
franta-hg@120
     7
it under the terms of the GNU General Public License as published by
franta-hg@120
     8
the Free Software Foundation, either version 3 of the License, or
franta-hg@120
     9
(at your option) any later version.
franta-hg@120
    10
franta-hg@120
    11
This program is distributed in the hope that it will be useful,
franta-hg@120
    12
but WITHOUT ANY WARRANTY; without even the implied warranty of
franta-hg@120
    13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
franta-hg@120
    14
GNU General Public License for more details.
franta-hg@120
    15
franta-hg@120
    16
You should have received a copy of the GNU General Public License
franta-hg@120
    17
along with this program. If not, see <http://www.gnu.org/licenses/>.
franta-hg@120
    18
-->
franta-hg@115
    19
<xs:schema
franta-hg@115
    20
	xmlns:xs="http://www.w3.org/2001/XMLSchema"
franta-hg@115
    21
	elementFormDefault="qualified"
franta-hg@115
    22
	targetNamespace="https://sql-dk.globalcode.info/xmlns/configuration"
franta-hg@115
    23
	xmlns:c="https://sql-dk.globalcode.info/xmlns/configuration">
franta-hg@115
    24
	
franta-hg@115
    25
	<xs:element name="configuration">
franta-hg@115
    26
		<xs:complexType>
franta-hg@115
    27
			<xs:sequence>
franta-hg@115
    28
				<xs:element minOccurs="0" maxOccurs="unbounded" ref="c:database"/>
franta-hg@115
    29
				<xs:element minOccurs="0" ref="c:defaultFormatter"/>
franta-hg@115
    30
				<xs:element minOccurs="0" maxOccurs="unbounded" ref="c:formatter"/>
franta-hg@115
    31
			</xs:sequence>
franta-hg@115
    32
		</xs:complexType>
franta-hg@115
    33
	</xs:element>
franta-hg@115
    34
	
franta-hg@115
    35
	<xs:element name="database">
franta-hg@115
    36
		<xs:complexType>
franta-hg@115
    37
			<xs:sequence>
franta-hg@115
    38
				<xs:element ref="c:name"/>
franta-hg@115
    39
				<xs:element ref="c:url"/>
franta-hg@115
    40
				<xs:element minOccurs="0" ref="c:userName"/>
franta-hg@115
    41
				<xs:element minOccurs="0" ref="c:password"/>
franta-hg@198
    42
				<xs:element minOccurs="0" ref="c:driver"/>
franta-hg@115
    43
				<xs:element minOccurs="0" maxOccurs="unbounded" ref="c:property"/>
franta-hg@115
    44
			</xs:sequence>
franta-hg@115
    45
		</xs:complexType>
franta-hg@115
    46
	</xs:element>
franta-hg@115
    47
	
franta-hg@115
    48
	<xs:element name="name" type="xs:string"/>
franta-hg@115
    49
	<xs:element name="url" type="xs:string"/>
franta-hg@115
    50
	<xs:element name="userName" type="xs:string"/>
franta-hg@115
    51
	<xs:element name="password" type="xs:string"/>
franta-hg@198
    52
	<xs:element name="driver" type="xs:string"/>
franta-hg@115
    53
	
franta-hg@115
    54
	<xs:element name="property">
franta-hg@115
    55
		<xs:complexType mixed="true">
franta-hg@115
    56
			<xs:attribute name="name" use="required"/>
franta-hg@115
    57
		</xs:complexType>
franta-hg@115
    58
	</xs:element>
franta-hg@115
    59
	
franta-hg@115
    60
	<xs:element name="defaultFormatter" type="xs:string"/>
franta-hg@115
    61
	
franta-hg@115
    62
	<xs:element name="formatter">
franta-hg@115
    63
		<xs:complexType>
franta-hg@115
    64
			<xs:sequence>
franta-hg@115
    65
				<xs:element ref="c:name"/>
franta-hg@115
    66
				<xs:element ref="c:class"/>
franta-hg@115
    67
				<xs:element minOccurs="0" maxOccurs="unbounded" ref="c:property"/>
franta-hg@115
    68
			</xs:sequence>
franta-hg@115
    69
		</xs:complexType>
franta-hg@115
    70
	</xs:element>
franta-hg@115
    71
	
franta-hg@115
    72
	<xs:element name="class" type="xs:string"/>
franta-hg@115
    73
	
franta-hg@115
    74
</xs:schema>