<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, representedat the first level by NamedLayer and UserLayer elements.
<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 documentshould be used as a "library" of named layers and styles toaugment the set of named layers and styles that are availablefor use inside of a WMS. In the event of name collisions, theSLD library takes precedence over the ones internal to the WMS.Any number of libraries may be specified in an SLD and eachsuccessive library takes precedence over the former ones in thecase of name collisions.
<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.
<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.
<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 semanticallyequivalent to a WMS named style. External FeatureTypeStyles orCoverageStyles can be linked using an OnlineResource-element
<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>