uwproj.xsd

changeset 41
75ee588d5d9e
parent 29
5e958351935d
child 43
741a0d9efa47
equal deleted inserted replaced
40:b42bfc9e9983 41:75ee588d5d9e
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3 xmlns="http://unixwork.de/uwproj" 3 xmlns="http://unixwork.de/uwproj"
4 targetNamespace="http://unixwork.de/uwproj" 4 targetNamespace="http://unixwork.de/uwproj"
5 elementFormDefault="qualified"> 5 elementFormDefault="qualified"
6 version="0.1"
7 >
6 <xs:element name="project" type="ProjectType"/> 8 <xs:element name="project" type="ProjectType"/>
7 9
8 <xs:complexType name="ProjectType"> 10 <xs:complexType name="ProjectType">
9 <xs:sequence> 11 <xs:sequence>
10 <xs:element name="property" type="PropertyType" minOccurs="0" maxOccurs="unbounded"/>
11 <xs:element name="config" type="ConfigType" minOccurs="0"/> 12 <xs:element name="config" type="ConfigType" minOccurs="0"/>
12 <xs:element name="dependency" type="DependencyType" minOccurs="0" maxOccurs="unbounded"/> 13 <xs:element name="dependency" type="DependencyType" minOccurs="0" maxOccurs="unbounded"/>
13 <xs:element name="target" type="TargetType" minOccurs="0" maxOccurs="unbounded"/> 14 <xs:element name="target" type="TargetType" minOccurs="0" maxOccurs="unbounded"/>
14 </xs:sequence> 15 </xs:sequence>
15 </xs:complexType>
16
17 <xs:complexType name="PropertyType">
18 <xs:attribute name="name" type="xs:string" use="required"/>
19 <xs:attribute name="value" type="xs:string" use="required"/>
20 </xs:complexType> 16 </xs:complexType>
21 17
22 <xs:complexType name="ConfigType"> 18 <xs:complexType name="ConfigType">
23 <xs:sequence> 19 <xs:sequence>
24 <xs:element name="var" type="ConfigVarType" minOccurs="0" maxOccurs="unbounded"/> 20 <xs:element name="var" type="ConfigVarType" minOccurs="0" maxOccurs="unbounded"/>

mercurial