1 | <?xml version="1.0" encoding="utf-8" ?>
|
---|
2 | <schema xmlns="http://www.w3.org/2001/XMLSchema"
|
---|
3 | xmlns:xlink="http://www.w3.org/1999/xlink"
|
---|
4 | xmlns:doc="http://ddue.schemas.microsoft.com/authoring/internal"
|
---|
5 | targetNamespace="http://www.w3.org/1999/xlink"
|
---|
6 | elementFormDefault="qualified"
|
---|
7 | attributeFormDefault="unqualified"
|
---|
8 | >
|
---|
9 |
|
---|
10 | <!-- schema abstract -->
|
---|
11 | <annotation>
|
---|
12 | <documentation>
|
---|
13 | This schema definition provides an XLink implementation for any schema.
|
---|
14 | </documentation>
|
---|
15 | </annotation>
|
---|
16 | <!-- include and import declarations -->
|
---|
17 | <include schemaLocation="standardCodes.xsd"/>
|
---|
18 | <!-- element declarations -->
|
---|
19 | <element name="simpleLink" type="xlink:simpleLinkType"/>
|
---|
20 | <element name="extendedLink" type="xlink:extendedLinkType"/>
|
---|
21 | <!-- attribute declarations -->
|
---|
22 | <!-- attribute name="xmlns:xlink" type="string" fixed="http://www.w3.org/1999/xlink"/ -->
|
---|
23 | <attribute name="type" type="xlink:basicLinkType"/>
|
---|
24 | <attribute name="href" type="xlink:hrefType"/>
|
---|
25 | <attribute name="role" type="xlink:roleType"/>
|
---|
26 | <attribute name="arcrole" type="xlink:arcroleType"/>
|
---|
27 | <attribute name="title" type="xlink:simpleTitleType"/>
|
---|
28 | <attribute name="show" type="xlink:showType"/>
|
---|
29 | <attribute name="actuate" type="xlink:actuateType"/>
|
---|
30 | <attribute name="label" type="xlink:labelType"/>
|
---|
31 | <attribute name="from" type="xlink:fromType"/>
|
---|
32 | <attribute name="to" type="xlink:toType"/>
|
---|
33 | <!-- attributeGroup definitions -->
|
---|
34 | <attributeGroup name="simpleLinkGroup">
|
---|
35 | <attribute ref="xlink:type" fixed="simple"/>
|
---|
36 | <attribute ref="xlink:href"/>
|
---|
37 | <attribute ref="xlink:role"/>
|
---|
38 | <attribute ref="xlink:arcrole"/>
|
---|
39 | <attribute ref="xlink:title"/>
|
---|
40 | <attribute ref="xlink:show"/>
|
---|
41 | <attribute ref="xlink:actuate"/>
|
---|
42 | </attributeGroup>
|
---|
43 | <attributeGroup name="extendedLinkGroup">
|
---|
44 | <attribute ref="xlink:type" fixed="extended"/>
|
---|
45 | <attribute ref="xlink:role"/>
|
---|
46 | <attribute ref="xlink:title"/>
|
---|
47 | <!-- attribute name="xmlns:xlink" type="string" fixed="http://www.w3.org/1999/xlink"/ -->
|
---|
48 | </attributeGroup>
|
---|
49 | <attributeGroup name="locatorGroup">
|
---|
50 | <attribute ref="xlink:type" fixed="locator"/>
|
---|
51 | <attribute ref="xlink:href" use="required"/>
|
---|
52 | <attribute ref="xlink:role"/>
|
---|
53 | <attribute ref="xlink:title"/>
|
---|
54 | <attribute ref="xlink:label"/>
|
---|
55 | </attributeGroup>
|
---|
56 | <attributeGroup name="arcGroup">
|
---|
57 | <attribute ref="xlink:type" fixed="arc"/>
|
---|
58 | <attribute ref="xlink:arcrole"/>
|
---|
59 | <attribute ref="xlink:title"/>
|
---|
60 | <attribute ref="xlink:show"/>
|
---|
61 | <attribute ref="xlink:actuate"/>
|
---|
62 | <attribute ref="xlink:from"/>
|
---|
63 | <attribute ref="xlink:to"/>
|
---|
64 | </attributeGroup>
|
---|
65 | <attributeGroup name="resourceGroup">
|
---|
66 | <attribute ref="xlink:type" fixed="resource"/>
|
---|
67 | <attribute ref="xlink:role"/>
|
---|
68 | <attribute ref="xlink:title"/>
|
---|
69 | <attribute ref="xlink:label"/>
|
---|
70 | </attributeGroup>
|
---|
71 | <attributeGroup name="titleGroup">
|
---|
72 | <attribute ref="xlink:type" fixed="title"/>
|
---|
73 | <attribute name="lang" type="xlink:isoLanguageCode"/>
|
---|
74 | </attributeGroup>
|
---|
75 | <!-- complexType definitions -->
|
---|
76 | <complexType name="simpleLinkType" final="restriction" mixed="true">
|
---|
77 | <annotation>
|
---|
78 | <documentation>Offers a shorthand syntax for a common kind of link, an outbound link with exactly two participating resources.</documentation>
|
---|
79 | </annotation>
|
---|
80 | <attributeGroup ref="xlink:simpleLinkGroup"/>
|
---|
81 | </complexType>
|
---|
82 | <complexType name="extendedLinkType" final="restriction" mixed="true">
|
---|
83 | <annotation>
|
---|
84 | <documentation>Offers full XLink functionality, such as inbound and third-party arcs, as well as links that have arbitrary numbers of participating resources. As a result, the structure of complex links can be fairly complex, including elements for pointing to remote resources, elements for containing local resources, elements for specifying arc traversal rules, and elements for specifying human-readable resource and arc titles.</documentation>
|
---|
85 | </annotation>
|
---|
86 | <choice minOccurs="0" maxOccurs="unbounded">
|
---|
87 | <element name="title" type="xlink:titleType"/>
|
---|
88 | <element name="resource" type="xlink:resourceType"/>
|
---|
89 | <element name="locator" type="xlink:locatorType"/>
|
---|
90 | <element name="arc" type="xlink:arcType"/>
|
---|
91 | </choice>
|
---|
92 | <attributeGroup ref="xlink:extendedLinkGroup"/>
|
---|
93 | </complexType>
|
---|
94 | <complexType name="locatorType">
|
---|
95 | <annotation>
|
---|
96 | <documentation>Address the remote resources participating in the link</documentation>
|
---|
97 | </annotation>
|
---|
98 | <sequence>
|
---|
99 | <element name="title" type="xlink:titleType" minOccurs="0" maxOccurs="unbounded"/>
|
---|
100 | </sequence>
|
---|
101 | <attributeGroup ref="xlink:locatorGroup"/>
|
---|
102 | </complexType>
|
---|
103 | <complexType name="arcType">
|
---|
104 | <annotation>
|
---|
105 | <documentation>Provide traversal rules among the link's participating resources.</documentation>
|
---|
106 | </annotation>
|
---|
107 | <sequence>
|
---|
108 | <element name="title" type="xlink:titleType" minOccurs="0" maxOccurs="unbounded"/>
|
---|
109 | </sequence>
|
---|
110 | <attributeGroup ref="xlink:arcGroup"/>
|
---|
111 | </complexType>
|
---|
112 | <complexType name="resourceType" mixed="true">
|
---|
113 | <annotation>
|
---|
114 | <documentation>Supply local resources that participate in the link.</documentation>
|
---|
115 | </annotation>
|
---|
116 | <attributeGroup ref="xlink:resourceGroup"/>
|
---|
117 | </complexType>
|
---|
118 | <complexType name="titleType" mixed="true">
|
---|
119 | <annotation>
|
---|
120 | <documentation>Provide human-readable labels for the link.</documentation>
|
---|
121 | </annotation>
|
---|
122 | <attributeGroup ref="xlink:titleGroup"/>
|
---|
123 | </complexType>
|
---|
124 | <!-- simpleType definitions -->
|
---|
125 | <simpleType name="basicLinkType" final="#all">
|
---|
126 | <annotation>
|
---|
127 | <documentation>XLink conformant elements must contain a type attribute. This is it's definition.</documentation>
|
---|
128 | </annotation>
|
---|
129 | <restriction base="token">
|
---|
130 | <enumeration value="simple"/>
|
---|
131 | <enumeration value="extended"/>
|
---|
132 | <enumeration value="locator"/>
|
---|
133 | <enumeration value="arc"/>
|
---|
134 | <enumeration value="resource"/>
|
---|
135 | <enumeration value="title"/>
|
---|
136 | <enumeration value="none"/>
|
---|
137 | </restriction>
|
---|
138 | </simpleType>
|
---|
139 | <simpleType name="hrefType">
|
---|
140 | <annotation>
|
---|
141 | <documentation/>
|
---|
142 | </annotation>
|
---|
143 | <restriction base="anyURI"/>
|
---|
144 | </simpleType>
|
---|
145 | <!-- ##### attribute name="role" type="anyURI" ##### tokenS? multi? ##### -->
|
---|
146 | <simpleType name="roleType">
|
---|
147 | <annotation>
|
---|
148 | <documentation/>
|
---|
149 | </annotation>
|
---|
150 | <restriction base="token">
|
---|
151 | <enumeration value="transform"/>
|
---|
152 | <enumeration value="passThrough"/>
|
---|
153 |
|
---|
154 | </restriction>
|
---|
155 | </simpleType>
|
---|
156 | <!-- ##### attribute name="arcrole" type="anyURI" ##### -->
|
---|
157 | <simpleType name="arcroleType">
|
---|
158 | <annotation>
|
---|
159 | <documentation>arcroleType definition. Value MUST be a URI reference as defined in IETF RFC 2396, except if the URI shceme used is allowed to have absolute and relative forms, the URI portion MUST be absolute. The URI reference identifys some resource that describes the intended property. When no value is supplied, no particular role value is to be inferred</documentation>
|
---|
160 | </annotation>
|
---|
161 | <restriction base="string"/>
|
---|
162 | </simpleType>
|
---|
163 | <simpleType name="simpleTitleType">
|
---|
164 | <annotation>
|
---|
165 | <documentation>titleType definition. Used to describe the meaning of a link or resource in a human-readable fashion, along the same lines as a ROLE or ARCROLE attribute (see roleType and arcroleType definitions). A value is optional; if a value is supplied, it SHOULD contain a string that describes the resource or link. The value MAY be used to make titles available to applications used by visually impaired users, or to create a table of links, or to present help text that appears when a user lets a mouse pointer hover over a starting resource.</documentation>
|
---|
166 | </annotation>
|
---|
167 | <restriction base="string"/>
|
---|
168 | </simpleType>
|
---|
169 | <simpleType name="showType">
|
---|
170 | <annotation>
|
---|
171 | <documentation>Defines possible values for show attribute.</documentation>
|
---|
172 | <documentation>new: Application SHOULD load the resource in a new window, frame, pane, or other relevant presentation context.</documentation>
|
---|
173 | <documentation>replace: Application SHOULD load the resource in the same window, frame, pane, or other relevant presentation context in which the starting resource was loaded.</documentation>
|
---|
174 | <documentation>embed: Application SHOULD load the resource presentation in place of the presentation of the starting resource.</documentation>
|
---|
175 | <documentation>other: Behavior of the application is unconstrained by the XLink spec. The application SHOULD look for other markup present in the link to determine the appropriate behavior.</documentation>
|
---|
176 | <documentation>none: Behavior of the application is unconstrained by the XLink spec. No other markup is present to help the application determine the appropriate behavior.</documentation>
|
---|
177 | </annotation>
|
---|
178 | <restriction base="token">
|
---|
179 | <enumeration value="new"/>
|
---|
180 | <enumeration value="replace"/>
|
---|
181 | <enumeration value="embed"/>
|
---|
182 | <enumeration value="other"/>
|
---|
183 | <enumeration value="none"/>
|
---|
184 | </restriction>
|
---|
185 | </simpleType>
|
---|
186 | <simpleType name="actuateType">
|
---|
187 | <annotation>
|
---|
188 | <documentation>Defines possible values for actuate attribute</documentation>
|
---|
189 | <documentation>onLoad: Application SHOULD traverse to the ending resource immediately on loading the starting resource.</documentation>
|
---|
190 | <documentation>onRequest: Application SHOULD traverse from the starting resource to the ending resource only on a post-loading event triggered for the purpose of traversal. An example might be when a user clicks on the presentation of the starting resource, or a software module finishes a countdown that precedes a redirect.</documentation>
|
---|
191 | <documentation>other: The behavior of the application traversing to the ending resource is unconstrained by this specification. The application SHOULD look for other markup present in the link to determine the appropriate behaviour.</documentation>
|
---|
192 | <documentation>none: The behavior of the application traversing to the ending resource is unconstrained by this specification. No other markup is present to help the application determine the appropriate behavior.</documentation>
|
---|
193 | </annotation>
|
---|
194 | <restriction base="token">
|
---|
195 | <enumeration value="onLoad"/>
|
---|
196 | <enumeration value="onRequest"/>
|
---|
197 | <enumeration value="other"/>
|
---|
198 | <enumeration value="none"/>
|
---|
199 | </restriction>
|
---|
200 | </simpleType>
|
---|
201 | <simpleType name="labelType">
|
---|
202 | <annotation>
|
---|
203 | <documentation>labelType definition. If a 'from' or 'to' attribute value is supplied, it MUST correspond to the same value for some 'label' attribute on a 'locator-' or 'resource-' type element that appears as a direct child inside the same extended-type element as does the arc-type element. See also 'from' and 'to' type definitions.</documentation>
|
---|
204 | </annotation>
|
---|
205 | <restriction base="token"/>
|
---|
206 | </simpleType>
|
---|
207 | <simpleType name="fromType">
|
---|
208 | <annotation>
|
---|
209 | <documentation>fromType definition. If a value is supplied, it MUST correspond to the same value for some 'label' attribute on a 'locator-' or 'resource-' type element that appears as a direct child inside the same extended-type element as does the arc-type element. See also 'label' and 'to' type definitions.</documentation>
|
---|
210 | </annotation>
|
---|
211 | <restriction base="token"/>
|
---|
212 | </simpleType>
|
---|
213 | <simpleType name="toType">
|
---|
214 | <annotation>
|
---|
215 | <documentation>toType definition. If a value is supplied, it MUST correspond to the same value for some 'label' attribute on a 'locator-' or 'resource-' type element that appears as a direct child inside the same extended-type element as does the arc-type element. See also 'label' and 'from' type definitions.</documentation>
|
---|
216 | </annotation>
|
---|
217 | <restriction base="token"/>
|
---|
218 | </simpleType>
|
---|
219 | </schema>
|
---|