1 <?xml version="1.0" encoding="UTF-8"?>
4 Copyright © 2013 František Kučera (frantovo.cz)
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
20 xmlns:xs="http://www.w3.org/2001/XMLSchema"
21 elementFormDefault="qualified"
22 targetNamespace="https://sql-dk.globalcode.info/xmlns/configuration"
23 xmlns:c="https://sql-dk.globalcode.info/xmlns/configuration">
25 <xs:element name="configuration">
28 <xs:element minOccurs="0" maxOccurs="unbounded" ref="c:database"/>
29 <xs:element minOccurs="0" ref="c:defaultFormatter"/>
30 <xs:element minOccurs="0" maxOccurs="unbounded" ref="c:formatter"/>
35 <xs:element name="database">
38 <xs:element ref="c:name"/>
39 <xs:element ref="c:url"/>
40 <xs:element minOccurs="0" ref="c:userName"/>
41 <xs:element minOccurs="0" ref="c:password"/>
42 <xs:element minOccurs="0" maxOccurs="unbounded" ref="c:property"/>
47 <xs:element name="name" type="xs:string"/>
48 <xs:element name="url" type="xs:string"/>
49 <xs:element name="userName" type="xs:string"/>
50 <xs:element name="password" type="xs:string"/>
52 <xs:element name="property">
53 <xs:complexType mixed="true">
54 <xs:attribute name="name" use="required"/>
58 <xs:element name="defaultFormatter" type="xs:string"/>
60 <xs:element name="formatter">
63 <xs:element ref="c:name"/>
64 <xs:element ref="c:class"/>
65 <xs:element minOccurs="0" maxOccurs="unbounded" ref="c:property"/>
70 <xs:element name="class" type="xs:string"/>