svn-gvsig-desktop / trunk / libraries / libFMap / xsd / common.xsd @ 2183
History | View | Annotate | Download (3.01 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:xlink="http://www.w3.org/1999/xlink" |
5 |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
6 |
elementFormDefault="qualified"> |
7 |
<xsd:import namespace="http://www.w3.org/1999/xlink" |
8 |
schemaLocation="../../gml/2.1/xlinks.xsd"/> |
9 |
|
10 |
<!-- *********************************************************************** --> |
11 |
<xsd:annotation> |
12 |
<xsd:documentation> |
13 |
SLD COMMON ELEMENTS version 1.0.20 (2002-09-21) |
14 |
</xsd:documentation> |
15 |
</xsd:annotation> |
16 |
|
17 |
<!-- *********************************************************************** --> |
18 |
<xsd:simpleType name="VersionType"> |
19 |
<xsd:annotation> |
20 |
<xsd:documentation> |
21 |
The "VersionType" merely restricts the version string that may |
22 |
be used with XML documents based on this schema. |
23 |
</xsd:documentation> |
24 |
</xsd:annotation> |
25 |
<xsd:restriction base="xsd:string"> |
26 |
<xsd:enumeration value="1.0.20"/> |
27 |
</xsd:restriction> |
28 |
</xsd:simpleType> |
29 |
|
30 |
<!-- *********************************************************************** --> |
31 |
<xsd:element name="Name" type="xsd:string"/> |
32 |
|
33 |
<xsd:element name="Description"> |
34 |
<xsd:annotation> |
35 |
<xsd:documentation> |
36 |
A "Description" gives human-readable descriptive information for |
37 |
the object it is included within. |
38 |
</xsd:documentation> |
39 |
</xsd:annotation> |
40 |
<xsd:complexType> |
41 |
<xsd:sequence> |
42 |
<xsd:element name="Title" type="xsd:string" minOccurs="0"/> |
43 |
<xsd:element name="Abstract" type="xsd:string" minOccurs="0"/> |
44 |
</xsd:sequence> |
45 |
</xsd:complexType> |
46 |
</xsd:element> |
47 |
|
48 |
<!-- *********************************************************************** --> |
49 |
<xsd:element name="FeatureTypeName" type="xsd:string"/> |
50 |
|
51 |
<!-- *********************************************************************** --> |
52 |
<xsd:element name="OnlineResource"> |
53 |
<xsd:annotation> |
54 |
<xsd:documentation> |
55 |
An "OnlineResource" is typically used to refer to an HTTP URL. |
56 |
</xsd:documentation> |
57 |
</xsd:annotation> |
58 |
<xsd:complexType> |
59 |
<xsd:attributeGroup ref="xlink:simpleLink"/> |
60 |
</xsd:complexType> |
61 |
</xsd:element> |
62 |
|
63 |
<!-- *********************************************************************** --> |
64 |
<xsd:element name="InlineContent"> |
65 |
<xsd:annotation> |
66 |
<xsd:documentation> |
67 |
"InlineContent" is XML- or base64-encoded encoded content in some |
68 |
externally-defined format that is included in an SLD in-line. |
69 |
</xsd:documentation> |
70 |
</xsd:annotation> |
71 |
<xsd:complexType mixed="true"> |
72 |
<xsd:sequence> |
73 |
<xsd:any minOccurs="0"/> |
74 |
</xsd:sequence> |
75 |
<xsd:attribute name="encoding" use="required"> |
76 |
<xsd:simpleType> |
77 |
<xsd:restriction base="xsd:string"> |
78 |
<xsd:enumeration value="xml"/> |
79 |
<xsd:enumeration value="base64"/> |
80 |
</xsd:restriction> |
81 |
</xsd:simpleType> |
82 |
</xsd:attribute> |
83 |
</xsd:complexType> |
84 |
</xsd:element> |
85 |
|
86 |
</xsd:schema> |