Showing:

Annotations
Attributes
Diagrams
Facets
Instances
Model
Properties
Source
Used by
Included schema StyledLayerDescriptor.xsd
Namespace http://www.opengis.net/sld/1.2
Annotations
<description>Styled Layer Descriptor version 1.2</description>
<copyright>SLD is an OGC Standard. Copyright (c) 2007,2010 Open Geospatial Consortium. To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .</copyright>
SLD LIBRARIES
LAYERS AND STYLES
Properties
attribute form default unqualified
element form default qualified
version 1.2
Element sld:StyledLayerDescriptor
Namespace http://www.opengis.net/sld/1.2
Annotations
A StyledLayerDescriptor is a sequence of styled layers, represented
at the first level by NamedLayer and UserLayer elements.
Diagram
Diagram StyledLayerDescriptor_xsd.tmp#StyledLayerDescriptor_version Core_xsd.tmp#Name Core_xsd.tmp#Description StyledLayerDescriptor_xsd.tmp#UseSLDLibrary StyledLayerDescriptor_xsd.tmp#NamedLayer
Properties
content complex
Used by
Complex Type sld:GetMapType
Model
Children se:Description, se:Name, sld:NamedLayer, sld:UseSLDLibrary
Instance
<sld:StyledLayerDescriptor version="" xmlns:sld="http://www.opengis.net/sld/1.2" xmlns:se="http://www.opengis.net/se/2.0/core">
  <se:Name>{0,1}</se:Name>
  <se:Description>{0,1}</se:Description>
  <sld:UseSLDLibrary>{0,unbounded}</sld:UseSLDLibrary>
  <sld:NamedLayer>{0,unbounded}</sld:NamedLayer>
</sld:StyledLayerDescriptor>
Attributes
QName Type Use
version se:VersionType required
Source
<xsd:element name="StyledLayerDescriptor">
  <xsd:annotation>
    <xsd:documentation>A StyledLayerDescriptor is a sequence of styled layers, represented at the first level by NamedLayer and UserLayer elements.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="se:Name" minOccurs="0"/>
      <xsd:element ref="se:Description" minOccurs="0"/>
      <xsd:element ref="sld:UseSLDLibrary" minOccurs="0" maxOccurs="unbounded"/>
      <!--<xsd:choice minOccurs="0" maxOccurs="unbounded">-->
      <xsd:element ref="sld:NamedLayer" minOccurs="0" maxOccurs="unbounded"/>
      <!--	<xsd:element ref="sld:UserLayer"/>-->
      <!--</xsd:choice>-->
    </xsd:sequence>
    <xsd:attribute name="version" type="se:VersionType" use="required"/>
  </xsd:complexType>
</xsd:element>
Element sld:UseSLDLibrary
Namespace http://www.opengis.net/sld/1.2
Annotations
The UseSLDLibrary tag specifies that an external SLD document
should be used as a "library" of named layers and styles to
augment the set of named layers and styles that are available
for use inside of a WMS.  In the event of name collisions, the
SLD library takes precedence over the ones internal to the WMS.
Any number of libraries may be specified in an SLD and each
successive library takes precedence over the former ones in the
case of name collisions.
Diagram
Diagram Core_xsd.tmp#OnlineResource
Properties
content complex
Used by
Model
Children se:OnlineResource
Instance
<sld:UseSLDLibrary xmlns:sld="http://www.opengis.net/sld/1.2" xmlns:se="http://www.opengis.net/se/2.0/core">
  <se:OnlineResource xlink:actuate="" xlink:arcrole="" xlink:href="" xlink:role="" xlink:show="" xlink:title="" xlink:type="simple">{1,1}</se:OnlineResource>
</sld:UseSLDLibrary>
Source
<xsd:element name="UseSLDLibrary">
  <xsd:annotation>
    <xsd:documentation>The UseSLDLibrary tag specifies that an external SLD document should be used as a "library" of named layers and styles to augment the set of named layers and styles that are available for use inside of a WMS. In the event of name collisions, the SLD library takes precedence over the ones internal to the WMS. Any number of libraries may be specified in an SLD and each successive library takes precedence over the former ones in the case of name collisions.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="se:OnlineResource"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element sld:NamedLayer
Namespace http://www.opengis.net/sld/1.2
Annotations
A NamedLayer is a layer of data that has a name advertised by a WMS.
Diagram
Diagram Core_xsd.tmp#Name Core_xsd.tmp#Description StyledLayerDescriptor_xsd.tmp#NamedStyle StyledLayerDescriptor_xsd.tmp#UserStyle
Properties
content complex
Used by
Model
Children se:Description, se:Name, sld:NamedStyle, sld:UserStyle
Instance
<sld:NamedLayer xmlns:sld="http://www.opengis.net/sld/1.2" xmlns:se="http://www.opengis.net/se/2.0/core">
  <se:Name>{1,1}</se:Name>
  <se:Description>{0,1}</se:Description>
  <sld:NamedStyle>{1,1}</sld:NamedStyle>
  <sld:UserStyle>{1,1}</sld:UserStyle>
</sld:NamedLayer>
Source
<xsd:element name="NamedLayer">
  <xsd:annotation>
    <xsd:documentation>A NamedLayer is a layer of data that has a name advertised by a WMS.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="se:Name"/>
      <xsd:element ref="se:Description" minOccurs="0"/>
      <xsd:choice minOccurs="0" maxOccurs="unbounded">
        <xsd:element ref="sld:NamedStyle"/>
        <xsd:element ref="sld:UserStyle"/>
      </xsd:choice>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element sld:NamedStyle
Namespace http://www.opengis.net/sld/1.2
Annotations
A NamedStyle is used to refer to a style that has a name in a WMS.
Diagram
Diagram Core_xsd.tmp#Name Core_xsd.tmp#Description
Properties
content complex
Used by
Element sld:NamedLayer
Model
Children se:Description, se:Name
Instance
<sld:NamedStyle xmlns:sld="http://www.opengis.net/sld/1.2" xmlns:se="http://www.opengis.net/se/2.0/core">
  <se:Name>{1,1}</se:Name>
  <se:Description>{0,1}</se:Description>
</sld:NamedStyle>
Source
<xsd:element name="NamedStyle">
  <xsd:annotation>
    <xsd:documentation>A NamedStyle is used to refer to a style that has a name in a WMS.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="se:Name"/>
      <xsd:element ref="se:Description" minOccurs="0"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element sld:UserStyle
Namespace http://www.opengis.net/sld/1.2
Annotations
A UserStyle allows user-defined styling and is semantically
equivalent to a WMS named style. External FeatureTypeStyles or
CoverageStyles can be linked using an OnlineResource-element
Diagram
Diagram Core_xsd.tmp#Name Core_xsd.tmp#Description StyledLayerDescriptor_xsd.tmp#IsDefault Core_xsd.tmp#AbstractStyle
Properties
content complex
Used by
Element sld:NamedLayer
Model
Children se:AbstractStyle, se:Description, se:Name, sld:IsDefault
Instance
<sld:UserStyle xmlns:sld="http://www.opengis.net/sld/1.2" xmlns:se="http://www.opengis.net/se/2.0/core">
  <se:Name>{0,1}</se:Name>
  <se:Description>{0,1}</se:Description>
  <sld:IsDefault>{0,1}</sld:IsDefault>
  <se:AbstractStyle>{1,unbounded}</se:AbstractStyle>
</sld:UserStyle>
Source
<xsd:element name="UserStyle">
  <xsd:annotation>
    <xsd:documentation>A UserStyle allows user-defined styling and is semantically equivalent to a WMS named style. External FeatureTypeStyles or CoverageStyles can be linked using an OnlineResource-element</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="se:Name" minOccurs="0"/>
      <xsd:element ref="se:Description" minOccurs="0"/>
      <xsd:element ref="sld:IsDefault" minOccurs="0"/>
      <!--<xsd:choice maxOccurs="unbounded">-->
      <!--<xsd:element ref="se:CoverageStyle"/>-->
      <!--<xsd:element ref="se:OnlineResource"/>-->
      <!-- *** Changed stuff *** -->
      <!-- se:AbstractStyle is the new root element of a style in SE 2.0 -->
      <xsd:element ref="se:AbstractStyle" maxOccurs="unbounded"/>
      <!-- *** Changed stuff *** -->
      <!--</xsd:choice>-->
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element sld:IsDefault
Namespace http://www.opengis.net/sld/1.2
Diagram
Diagram
Type xsd:boolean
Properties
content simple
Used by
Element sld:UserStyle
Source
<xsd:element name="IsDefault" type="xsd:boolean"/>
Attribute sld:StyledLayerDescriptor / @version
Namespace No namespace
Type se:VersionType
Properties
use required
Facets
enumeration 2.0.0
Used by
Source
<xsd:attribute name="version" type="se:VersionType" use="required"/>