|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <xs:schema |
|
3 xmlns:xs="http://www.w3.org/2001/XMLSchema" |
|
4 targetNamespace="http://www.s60.com/xml/content/1" |
|
5 xmlns:content="http://www.s60.com/xml/content/1" |
|
6 elementFormDefault="qualified"> |
|
7 |
|
8 <xs:complexType name="tagType"> |
|
9 <xs:attribute name="name" type="xs:string"/> |
|
10 <xs:attribute name="value" type="xs:string"/> |
|
11 </xs:complexType> |
|
12 |
|
13 <xs:complexType name="includeType"> |
|
14 <xs:attribute name="files" type="xs:string"/> |
|
15 <xs:attribute name="dir" type="xs:string"/> |
|
16 <xs:attribute name="pattern" type="xs:string"/> |
|
17 </xs:complexType> |
|
18 |
|
19 |
|
20 <xs:complexType name="outputType"> |
|
21 <xs:attribute name="dir" type="xs:string"/> |
|
22 <xs:attribute name="flatten" type="xs:string"/> |
|
23 </xs:complexType> |
|
24 |
|
25 <xs:complexType name="excludeType"> |
|
26 <xs:attribute name="files" type="xs:string"/> |
|
27 <xs:attribute name="dir" type="xs:string"/> |
|
28 <xs:attribute name="pattern" type="xs:string"/> |
|
29 </xs:complexType> |
|
30 |
|
31 |
|
32 |
|
33 <xs:complexType name="inputType"> |
|
34 <xs:choice minOccurs="0" maxOccurs="unbounded"> |
|
35 <xs:element name="include" type="content:includeType"/> |
|
36 <xs:element name="exclude" type="content:excludeType"/> |
|
37 </xs:choice> |
|
38 <xs:attribute name="file" type="xs:string"/> |
|
39 <xs:attribute name="dir" type="xs:string"/> |
|
40 </xs:complexType> |
|
41 |
|
42 |
|
43 <xs:complexType name="contentRootType"> |
|
44 <xs:sequence> |
|
45 <xs:choice minOccurs="0" maxOccurs="unbounded"> |
|
46 <xs:element name="desc" type="xs:string"/> |
|
47 <xs:element name="tag" type="content:tagType"/> |
|
48 </xs:choice> |
|
49 |
|
50 <!-- There has got to be a better way to do this... --> |
|
51 <xs:choice> |
|
52 <xs:sequence> |
|
53 <xs:element name="input" type="content:inputType" minOccurs="1" maxOccurs="1"/> |
|
54 <xs:element name="output" type="content:outputType" minOccurs="1" maxOccurs="1"/> |
|
55 </xs:sequence> |
|
56 <xs:sequence> |
|
57 <xs:element name="output" type="content:outputType" minOccurs="1" maxOccurs="1"/> |
|
58 <xs:element name="input" type="content:inputType" minOccurs="1" maxOccurs="1"/> |
|
59 </xs:sequence> |
|
60 </xs:choice> |
|
61 </xs:sequence> |
|
62 <xs:attribute name="phase" type="xs:string"/> |
|
63 </xs:complexType> |
|
64 |
|
65 <xs:element name="content" type="content:contentRootType"/> |
|
66 |
|
67 </xs:schema> |