Statistics
| Revision:

svn-gvsig-desktop / tags / v2_0_Build_1220 / frameworks / _fwAndami / schemas / andami-config.xsd @ 44974

History | View | Annotate | Download (2.14 KB)

1
<?xml version="1.0" encoding="UTF-8" ?>
2

    
3
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
4
  <xs:element name="andami">
5
    <xs:complexType>
6
      <xs:attribute name="update" type="xs:boolean" use="required" />
7
    </xs:complexType>
8
  </xs:element>
9

    
10
  <xs:element name="andami-config">
11
    <xs:complexType>
12
      <xs:sequence>
13
        <xs:element ref="andami" />
14
        <xs:element ref="plugin" maxOccurs="unbounded" />
15
        <xs:element ref="andami-options" minOccurs="0" maxOccurs="1" />
16
      </xs:sequence>
17
      <xs:attribute name="locale-language" type="xs:string" use="optional" />
18
      <xs:attribute name="locale-country" type="xs:string" use="optional" />
19
      <xs:attribute name="locale-variant" type="xs:string" use="optional" />
20
      <xs:attribute name="lookAndFeel" type="xs:string" use="optional" />
21
      <xs:attribute name="pluginsDirectory" type="xs:string" use="required" />
22
    </xs:complexType>
23
  </xs:element>
24

    
25
  <xs:element name="plugin">
26
    <xs:complexType>
27
      <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
28
      <xs:attribute name="update" type="xs:boolean" use="required" />
29
    </xs:complexType>
30
  </xs:element>
31
  
32
  <xs:element name="andami-options">
33
    <xs:complexType>
34
      <xs:sequence>
35
        <xs:element ref="option" minOccurs="0" maxOccurs="unbounded" />
36
        <xs:element ref="icon-theme" minOccurs="0" maxOccurs="1" />
37
      </xs:sequence>
38
    </xs:complexType>
39
  </xs:element>
40
  
41
  <xs:element name="icon-theme">
42
    <xs:complexType>
43
      <xs:attribute name="name" type="xs:string" use="required" />
44
      <xs:attribute name="description" type="xs:string" use="optional" />
45
      <xs:attribute name="version" type="xs:string" use="optional" />
46
      <xs:attribute name="resource" type="xs:string" use="optional" />
47
      <xs:attribute name="basedir" type="xs:string" use="required" />
48
    </xs:complexType>
49
  </xs:element>
50

    
51
  <xs:element name="option">
52
    <xs:complexType>
53
      <xs:attribute name="name" type="xs:string" use="required" />
54
      <xs:attribute name="value" type="xs:string" use="required" />
55
    </xs:complexType>
56
  </xs:element>
57
</xs:schema>