summaryrefslogtreecommitdiffstats
path: root/schemas/pkgvars.xsd
blob: dbd02726decd94f55c52b3f1006db289eb8fde30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'
            xmlns:py="http://genshi.edgewall.org/">

  <xsd:annotation>
    <xsd:documentation>
      XML-Schema-Definition für PkgVars/*.xml
      Alexander Sulfrian
    </xsd:documentation>
  </xsd:annotation>

  <xsd:import namespace="http://genshi.edgewall.org/"
              schemaLocation="genshi.xsd"/>

  <xsd:complexType name='pkgVarType'>
    <xsd:attribute type='xsd:string' name='name'/>

    <xsd:attribute type='xsd:string' name='pin'/>
    <xsd:attribute type='xsd:string' name='use'/>
    <xsd:attribute type='xsd:string' name='keywords'/>

    <xsd:attributeGroup ref="py:genshiAttrs"/>
  </xsd:complexType>

  <xsd:complexType name='containerType'>
    <xsd:choice maxOccurs='unbounded'>
      <xsd:element name='Package' type='pkgVarType'/>
      <xsd:element name='Client' type='containerType'/>
      <xsd:element name='Group' type='containerType'/>
    </xsd:choice>
    <xsd:attribute name='name' type='xsd:string' use='required'/>
    <xsd:attribute name='negate' type='xsd:boolean'/>
  </xsd:complexType>

  <xsd:complexType name='pkgVarsType'>
    <xsd:choice minOccurs='0' maxOccurs='unbounded'>
      <xsd:element name='Package' type='pkgVarType'/>
      <xsd:element name='Client' type='containerType'/>
      <xsd:element name='Group' type='containerType'/>
    </xsd:choice>
  </xsd:complexType>

  <xsd:element name='PkgVars' type='pkgVarsType'/>
</xsd:schema>