Statistics
| Revision:

root / trunk / libraries / libFMap / xsd / FeatureStyle.xsd @ 2183

History | View | Annotate | Download (2.86 KB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<xsd:schema targetNamespace="http://www.opengis.net/sld"
3
            xmlns:sld="http://www.opengis.net/sld"
4
            xmlns:ogc="http://www.opengis.net/ogc"
5
            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6
            elementFormDefault="qualified">
7
  <xsd:include schemaLocation="Symbol.xsd"/>
8
  <xsd:import namespace="http://www.opengis.net/ogc"
9
              schemaLocation="../../filter/1.0.0/filter.xsd"/>
10

    
11
<!-- *********************************************************************** -->
12
  <xsd:annotation>
13
    <xsd:documentation>
14
      SLD FEATURE STYLE version 1.0.20 (2002-09-21)
15
    </xsd:documentation>
16
  </xsd:annotation>
17

    
18
  <xsd:element name="FeatureStyle">
19
  <xsd:annotation>
20
    <xsd:documentation>
21
      A FeatureStyle contains styling information specific to one
22
      feature type.  This is the SLD level that separates the 'layer'
23
      handling from the 'feature' handling.
24
    </xsd:documentation>
25
    </xsd:annotation>
26
    <xsd:complexType>
27
      <xsd:choice>
28
        <xsd:sequence>
29
          <xsd:element ref="sld:Name" minOccurs="0"/>
30
          <xsd:element ref="sld:Description" minOccurs="0"/>
31
          <xsd:element ref="sld:FeatureTypeName" minOccurs="0"/>
32
          <xsd:element ref="sld:SemanticTypeIdentifier" minOccurs="0"
33
                      maxOccurs="unbounded"/>
34
          <xsd:element ref="sld:Rule" maxOccurs="unbounded"/>
35
        </xsd:sequence>
36
        <xsd:element ref="sld:OnlineResource"/>
37
      </xsd:choice>
38
      <xsd:attribute name="version" type="sld:VersionType"/>
39
    </xsd:complexType>
40
  </xsd:element>
41
  <xsd:element name="SemanticTypeIdentifier" type="xsd:string"/>
42

    
43
  <xsd:element name="Rule">
44
    <xsd:annotation>
45
      <xsd:documentation>
46
        A Rule is used to attach property/scale conditions to and group
47
        the individual symbols used for rendering.
48
      </xsd:documentation>
49
    </xsd:annotation>
50
    <xsd:complexType>
51
      <xsd:sequence>
52
        <xsd:element ref="sld:Name" minOccurs="0"/>
53
        <xsd:element ref="sld:Description" minOccurs="0"/>
54
        <xsd:element ref="sld:LegendGraphic" minOccurs="0"/>
55
        <xsd:choice minOccurs="0">
56
          <xsd:element ref="ogc:Filter"/>
57
          <xsd:element ref="sld:ElseFilter"/>
58
        </xsd:choice>
59
        <xsd:element ref="sld:MinScaleDenominator" minOccurs="0"/>
60
        <xsd:element ref="sld:MaxScaleDenominator" minOccurs="0"/>
61
        <xsd:element ref="sld:Symbol" maxOccurs="unbounded"/>
62
      </xsd:sequence>
63
    </xsd:complexType>
64
  </xsd:element>
65
  <xsd:element name="LegendGraphic">
66
    <xsd:complexType>
67
      <xsd:sequence>
68
        <xsd:element ref="sld:Graphic"/>
69
      </xsd:sequence>
70
    </xsd:complexType>
71
  </xsd:element>
72
  <xsd:element name="ElseFilter">
73
    <xsd:complexType/>
74
  </xsd:element>
75
  <xsd:element name="MinScaleDenominator" type="xsd:double"/>
76
  <xsd:element name="MaxScaleDenominator" type="xsd:double"/>
77

    
78
</xsd:schema>