| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!-- ============================================================= --> |
| 3 |
<!-- HEADER --> |
| 4 |
<!-- ============================================================= --> |
| 5 |
<!-- MODULE: DITA Subject Classification Domain --> |
| 6 |
<!-- VERSION: 1.2 --> |
| 7 |
<!-- DATE: February 2009 --> |
| 8 |
<!----> |
| 9 |
<!-- ============================================================= --> |
| 10 |
<!-- ============================================================= --> |
| 11 |
<!-- PUBLIC DOCUMENT TYPE DEFINITION --> |
| 12 |
<!-- TYPICAL INVOCATION --> |
| 13 |
<!----> |
| 14 |
|
| 15 |
<!-- ============================================================= --> |
| 16 |
<!-- SYSTEM: Darwin Information Typing Architecture (DITA) --> |
| 17 |
<!----> |
| 18 |
<!-- PURPOSE: Define elements and specialization attributes --> |
| 19 |
<!-- for Map Subject Classification Domain --> |
| 20 |
<!----> |
| 21 |
<!-- ORIGINAL CREATION DATE: --> |
| 22 |
<!-- February 2009 --> |
| 23 |
<!----> |
| 24 |
<!-- (C) Copyright OASIS Open 2009. --> |
| 25 |
<!-- (C) Copyright IBM Corporation 2005, 2007. --> |
| 26 |
<!-- All Rights Reserved. --> |
| 27 |
<!----> |
| 28 |
<!-- UPDATES: --> |
| 29 |
<!-- ============================================================= --> |
| 30 |
|
| 31 |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" |
| 32 |
xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/"> |
| 33 |
|
| 34 |
<xs:import namespace="http://dita.oasis-open.org/architecture/2005/" schemaLocation="urn:oasis:names:tc:dita:xsd:ditaarch.xsd:1.2"/> |
| 35 |
|
| 36 |
<xs:annotation> |
| 37 |
<xs:appinfo> |
| 38 |
<dita:domainsModule xmlns:dita="http://dita.oasis-open.org/architecture/2005/">(map classify-d)</dita:domainsModule> |
| 39 |
</xs:appinfo> |
| 40 |
<xs:documentation> |
| 41 |
|
| 42 |
</xs:documentation> |
| 43 |
</xs:annotation> |
| 44 |
|
| 45 |
<xs:group name="classify-d-topicref"> |
| 46 |
<xs:sequence> |
| 47 |
<xs:group ref="topicsubject"/> |
| 48 |
<xs:group ref="topicapply"/> |
| 49 |
</xs:sequence> |
| 50 |
</xs:group> |
| 51 |
|
| 52 |
<xs:group name="classify-d-reltable"> |
| 53 |
<xs:sequence> |
| 54 |
<xs:group ref="topicSubjectTable"/> |
| 55 |
</xs:sequence> |
| 56 |
</xs:group> |
| 57 |
|
| 58 |
<xs:group name="topicSubjectTable"> |
| 59 |
<xs:sequence> |
| 60 |
<xs:element ref="topicSubjectTable"/> |
| 61 |
</xs:sequence> |
| 62 |
</xs:group> |
| 63 |
|
| 64 |
<xs:group name="topicsubject"> |
| 65 |
<xs:sequence> |
| 66 |
<xs:element ref="topicsubject"/> |
| 67 |
</xs:sequence> |
| 68 |
</xs:group> |
| 69 |
<xs:group name="topicapply"> |
| 70 |
<xs:sequence> |
| 71 |
<xs:element ref="topicapply"/> |
| 72 |
</xs:sequence> |
| 73 |
</xs:group> |
| 74 |
<!-- New --> |
| 75 |
<xs:group name="subjectref"> |
| 76 |
<xs:sequence> |
| 77 |
<xs:element ref="subjectref"/> |
| 78 |
</xs:sequence> |
| 79 |
</xs:group> |
| 80 |
<xs:group name="topicSubjectHeader"> |
| 81 |
<xs:sequence> |
| 82 |
<xs:element ref="topicSubjectHeader"/> |
| 83 |
</xs:sequence> |
| 84 |
</xs:group> |
| 85 |
<xs:group name="topicSubjectRow"> |
| 86 |
<xs:sequence> |
| 87 |
<xs:element ref="topicSubjectRow"/> |
| 88 |
</xs:sequence> |
| 89 |
</xs:group> |
| 90 |
<xs:group name="topicCell"> |
| 91 |
<xs:sequence> |
| 92 |
<xs:element ref="topicCell"/> |
| 93 |
</xs:sequence> |
| 94 |
</xs:group> |
| 95 |
<xs:group name="subjectCell"> |
| 96 |
<xs:sequence> |
| 97 |
<xs:element ref="subjectCell"/> |
| 98 |
</xs:sequence> |
| 99 |
</xs:group> |
| 100 |
|
| 101 |
|
| 102 |
<!-- ============================================================= --> |
| 103 |
<!-- ELEMENT DECLARATIONS --> |
| 104 |
<!-- ============================================================= --> |
| 105 |
<!-- LONG NAME: Topic Subject --> |
| 106 |
<!-- SKOS equivalent: primary if href or keyref are specified --> |
| 107 |
|
| 108 |
<xs:complexType name="topicsubject.class"> |
| 109 |
<xs:sequence> |
| 110 |
<xs:group ref="topicsubject.content"/> |
| 111 |
</xs:sequence> |
| 112 |
<xs:attributeGroup ref="topicsubject.attributes"/> |
| 113 |
</xs:complexType> |
| 114 |
|
| 115 |
<xs:group name="topicsubject.content"> |
| 116 |
<xs:sequence> |
| 117 |
<xs:group minOccurs="0" ref="topicmeta"/> |
| 118 |
<xs:choice minOccurs="0" maxOccurs="unbounded"> |
| 119 |
<xs:group ref="data.elements.incl"/> |
| 120 |
<xs:group ref="subjectref"/> |
| 121 |
<xs:group ref="topicref"/> |
| 122 |
</xs:choice> |
| 123 |
</xs:sequence> |
| 124 |
</xs:group> |
| 125 |
|
| 126 |
<xs:attributeGroup name="topicsubject.attributes"> |
| 127 |
<xs:attribute name="navtitle" type="xs:string"/> |
| 128 |
<xs:attribute name="href" type="xs:string"/> |
| 129 |
<xs:attribute name="keyref" type="xs:string"/> |
| 130 |
<xs:attribute name="keys" type="xs:string"/> |
| 131 |
<xs:attribute name="query" type="xs:string"/> |
| 132 |
<xs:attribute name="type" type="xs:string"/> |
| 133 |
<xs:attribute name="processing-role" type="processing-role-att.class" default="resource-only"/> |
| 134 |
<xs:attribute name="scope" type="yesno-att.class"/> |
| 135 |
<xs:attribute name="format" type="xs:string"/> |
| 136 |
<xs:attribute name="toc" default="no" type="yesno-att.class"/> |
| 137 |
<xs:attributeGroup ref="univ-atts"/> |
| 138 |
<xs:attributeGroup ref="global-atts" /> |
| 139 |
</xs:attributeGroup> |
| 140 |
|
| 141 |
<xs:element name="topicsubject"> |
| 142 |
<xs:complexType> |
| 143 |
<xs:complexContent> |
| 144 |
<xs:extension base="topicsubject.class"> |
| 145 |
<xs:attribute name="class" default="+ map/topicref classify-d/topicsubject "/> |
| 146 |
</xs:extension> |
| 147 |
</xs:complexContent> |
| 148 |
</xs:complexType> |
| 149 |
</xs:element> |
| 150 |
|
| 151 |
|
| 152 |
<xs:complexType name="topicapply.class"> |
| 153 |
<xs:sequence> |
| 154 |
<xs:group ref="topicapply.content"/> |
| 155 |
</xs:sequence> |
| 156 |
<xs:attributeGroup ref="topicapply.attributes"/> |
| 157 |
</xs:complexType> |
| 158 |
|
| 159 |
<!-- LONG NAME: Topic Apply --> |
| 160 |
<xs:group name="topicapply.content"> |
| 161 |
<xs:sequence> |
| 162 |
<xs:sequence> |
| 163 |
<xs:group minOccurs="0" ref="topicmeta"/> |
| 164 |
<xs:choice minOccurs="0" maxOccurs="unbounded"> |
| 165 |
<xs:group ref="data.elements.incl"/> |
| 166 |
<xs:group ref="subjectref"/> |
| 167 |
<xs:group ref="topicref"/> |
| 168 |
</xs:choice> |
| 169 |
</xs:sequence> |
| 170 |
</xs:sequence> |
| 171 |
</xs:group> |
| 172 |
|
| 173 |
<xs:attributeGroup name="topicapply.attributes"> |
| 174 |
<xs:attribute name="navtitle" type="xs:string"/> |
| 175 |
<xs:attribute name="href" type="xs:string"/> |
| 176 |
<xs:attribute name="keys" type="xs:string"/> |
| 177 |
<xs:attribute name="keyref" type="xs:string"/> |
| 178 |
<xs:attribute name="query" type="xs:string"/> |
| 179 |
<xs:attribute name="collection-type" type="collection-type.class"/> |
| 180 |
<xs:attribute name="type" type="xs:string"/> |
| 181 |
<xs:attribute name="processing-role" type="processing-role-att.class" default="resource-only"/> |
| 182 |
<xs:attribute name="scope" type="scope-att.class"/> |
| 183 |
<xs:attribute name="format" type="xs:string"/> |
| 184 |
<xs:attribute name="linking" type="linkingtypes.class"/> |
| 185 |
<xs:attribute name="toc" type="yesno-att.class"/> |
| 186 |
<xs:attributeGroup ref="univ-atts" /> |
| 187 |
<xs:attribute name="outputclass" type="xs:string"/> |
| 188 |
<xs:attributeGroup ref="global-atts" /> |
| 189 |
</xs:attributeGroup> |
| 190 |
|
| 191 |
<xs:element name="topicapply"> |
| 192 |
<xs:complexType> |
| 193 |
<xs:complexContent> |
| 194 |
<xs:extension base="topicapply.class"> |
| 195 |
<xs:attribute name="class" default="+ map/topicref classify-d/topicapply "/> |
| 196 |
</xs:extension> |
| 197 |
</xs:complexContent> |
| 198 |
</xs:complexType> |
| 199 |
</xs:element> |
| 200 |
|
| 201 |
<xs:complexType name="subjectref.class"> |
| 202 |
<xs:sequence> |
| 203 |
<xs:group ref="subjectref.content"/> |
| 204 |
</xs:sequence> |
| 205 |
<xs:attributeGroup ref="subjectref.attributes"/> |
| 206 |
</xs:complexType> |
| 207 |
|
| 208 |
<!-- LONG NAME: Subject Reference --> |
| 209 |
<xs:group name="subjectref.content"> |
| 210 |
<xs:sequence> |
| 211 |
<xs:sequence> |
| 212 |
<xs:group minOccurs="0" ref="topicmeta"/> |
| 213 |
<xs:group minOccurs="0" maxOccurs="unbounded" ref="data.elements.incl"/> |
| 214 |
</xs:sequence> |
| 215 |
</xs:sequence> |
| 216 |
</xs:group> |
| 217 |
|
| 218 |
<xs:attributeGroup name="subjectref.attributes"> |
| 219 |
<xs:attribute name="navtitle" type="xs:string"/> |
| 220 |
<xs:attribute name="href" type="xs:string"/> |
| 221 |
<xs:attribute name="keys" type="xs:string"/> |
| 222 |
<xs:attribute name="keyref" type="xs:string"/> |
| 223 |
<xs:attribute name="query" type="xs:string"/> |
| 224 |
<xs:attribute name="collection-type" type="collection-type.class"/> |
| 225 |
<xs:attribute name="processing-role" type="processing-role-att.class" default="resource-only"/> |
| 226 |
<xs:attribute name="type" type="xs:string"/> |
| 227 |
<xs:attribute name="scope" type="scope-att.class"/> |
| 228 |
<xs:attribute name="format" type="xs:string"/> |
| 229 |
<xs:attribute name="linking" type="linkingtypes.class"/> |
| 230 |
<xs:attribute name="toc" type="yesno-att.class"/> |
| 231 |
<xs:attributeGroup ref="univ-atts" /> |
| 232 |
<xs:attribute name="outputclass" type="xs:string"/> |
| 233 |
<xs:attributeGroup ref="global-atts" /> |
| 234 |
</xs:attributeGroup> |
| 235 |
|
| 236 |
<xs:element name="subjectref"> |
| 237 |
<xs:complexType> |
| 238 |
<xs:complexContent> |
| 239 |
<xs:extension base="subjectref.class"> |
| 240 |
<xs:attribute name="class" default="+ map/topicref classify-d/subjectref "/> |
| 241 |
</xs:extension> |
| 242 |
</xs:complexContent> |
| 243 |
</xs:complexType> |
| 244 |
</xs:element> |
| 245 |
|
| 246 |
|
| 247 |
<!-- LONG NAME: Topic Subject Relationship Table --> |
| 248 |
|
| 249 |
<xs:complexType name="topicSubjectTable.class"> |
| 250 |
<xs:sequence> |
| 251 |
<xs:group ref="topicSubjectTable.content"/> |
| 252 |
</xs:sequence> |
| 253 |
<xs:attributeGroup ref="topicSubjectTable.attributes"/> |
| 254 |
</xs:complexType> |
| 255 |
|
| 256 |
<xs:group name="topicSubjectTable.content"> |
| 257 |
<xs:sequence> |
| 258 |
<xs:sequence> |
| 259 |
<xs:group ref="title"/> |
| 260 |
<xs:group minOccurs="0" ref="topicmeta"/> |
| 261 |
<xs:group minOccurs="0" ref="topicSubjectHeader"/> |
| 262 |
<xs:group maxOccurs="unbounded" ref="topicSubjectRow"/> |
| 263 |
</xs:sequence> |
| 264 |
</xs:sequence> |
| 265 |
</xs:group> |
| 266 |
|
| 267 |
<xs:attributeGroup name="topicSubjectTable.attributes"> |
| 268 |
<xs:attribute name="title"/> |
| 269 |
<xs:attributeGroup ref="topicref-atts-no-toc"/> |
| 270 |
<xs:attributeGroup ref="univ-atts"/> |
| 271 |
<xs:attributeGroup ref="global-atts"/> |
| 272 |
</xs:attributeGroup> |
| 273 |
|
| 274 |
<xs:element name="topicSubjectTable"> |
| 275 |
<xs:complexType> |
| 276 |
<xs:complexContent> |
| 277 |
<xs:extension base="topicSubjectTable.class"> |
| 278 |
<xs:attribute name="class" default="+ map/reltable classify-d/topicSubjectTable "/> |
| 279 |
</xs:extension> |
| 280 |
</xs:complexContent> |
| 281 |
</xs:complexType> |
| 282 |
</xs:element> |
| 283 |
|
| 284 |
|
| 285 |
<!-- LONG NAME: Topic Subject Table Header --> |
| 286 |
<!-- |
| 287 |
The header defines the set of subjects for each column. |
| 288 |
By default, the subject in the header cell must be a broader ancestor |
| 289 |
within a scheme available during processing for the subjects |
| 290 |
in the same column of other rows |
| 291 |
In the header, the topicCell serves primarily as a placeholder |
| 292 |
for the topic column but could also provide some constraints |
| 293 |
or metadata for the topics |
| 294 |
--> |
| 295 |
<xs:complexType name="topicSubjectHeader.class"> |
| 296 |
<xs:sequence> |
| 297 |
<xs:group ref="topicSubjectHeader.content"/> |
| 298 |
</xs:sequence> |
| 299 |
<xs:attributeGroup ref="topicSubjectHeader.attributes"/> |
| 300 |
</xs:complexType> |
| 301 |
|
| 302 |
<xs:group name="topicSubjectHeader.content"> |
| 303 |
<xs:sequence> |
| 304 |
<xs:sequence> |
| 305 |
<xs:group ref="topicCell"/> |
| 306 |
<xs:group maxOccurs="unbounded" ref="subjectCell"/> |
| 307 |
</xs:sequence> |
| 308 |
</xs:sequence> |
| 309 |
</xs:group> |
| 310 |
|
| 311 |
<xs:attributeGroup name="topicSubjectHeader.attributes"> |
| 312 |
<xs:attributeGroup ref="univ-atts"/> |
| 313 |
<xs:attributeGroup ref="global-atts"/> |
| 314 |
</xs:attributeGroup> |
| 315 |
<xs:element name="topicSubjectHeader"> |
| 316 |
<xs:complexType> |
| 317 |
<xs:complexContent> |
| 318 |
<xs:extension base="topicSubjectHeader.class"> |
| 319 |
<xs:attribute name="class" default="+ map/relrow classify-d/topicSubjectHeader "/> |
| 320 |
</xs:extension> |
| 321 |
</xs:complexContent> |
| 322 |
</xs:complexType> |
| 323 |
</xs:element> |
| 324 |
|
| 325 |
|
| 326 |
<!-- LONG NAME: Topic Subject Table Row --> |
| 327 |
<xs:complexType name="topicSubjectRow.class"> |
| 328 |
<xs:sequence> |
| 329 |
<xs:group ref="topicSubjectRow.content"/> |
| 330 |
</xs:sequence> |
| 331 |
<xs:attributeGroup ref="topicSubjectRow.attributes"/> |
| 332 |
</xs:complexType> |
| 333 |
|
| 334 |
<xs:group name="topicSubjectRow.content"> |
| 335 |
<xs:sequence> |
| 336 |
<xs:sequence> |
| 337 |
<xs:group ref="topicCell"/> |
| 338 |
<xs:group maxOccurs="unbounded" ref="subjectCell"/> |
| 339 |
</xs:sequence> |
| 340 |
</xs:sequence> |
| 341 |
</xs:group> |
| 342 |
|
| 343 |
<xs:attributeGroup name="topicSubjectRow.attributes"> |
| 344 |
<xs:attributeGroup ref="univ-atts"/> |
| 345 |
<xs:attributeGroup ref="global-atts"/> |
| 346 |
</xs:attributeGroup> |
| 347 |
|
| 348 |
<xs:element name="topicSubjectRow"> |
| 349 |
<xs:complexType> |
| 350 |
<xs:complexContent> |
| 351 |
<xs:extension base="topicSubjectRow.class"> |
| 352 |
<xs:attribute name="class" default="+ map/relrow classify-d/topicSubjectRow "/> |
| 353 |
</xs:extension> |
| 354 |
</xs:complexContent> |
| 355 |
</xs:complexType> |
| 356 |
</xs:element> |
| 357 |
|
| 358 |
|
| 359 |
<!-- LONG NAME: Topic Subject Table Cell --> |
| 360 |
<xs:complexType name="topicCell.class"> |
| 361 |
<xs:sequence> |
| 362 |
<xs:group ref="topicCell.content"/> |
| 363 |
</xs:sequence> |
| 364 |
<xs:attributeGroup ref="topicCell.attributes"/> |
| 365 |
</xs:complexType> |
| 366 |
|
| 367 |
<xs:group name="topicCell.content"> |
| 368 |
<xs:sequence> |
| 369 |
<xs:choice maxOccurs="unbounded"> |
| 370 |
<xs:group ref="data.elements.incl"/> |
| 371 |
<xs:group ref="topicref"/> |
| 372 |
</xs:choice> |
| 373 |
</xs:sequence> |
| 374 |
</xs:group> |
| 375 |
|
| 376 |
|
| 377 |
<xs:attributeGroup name="topicCell.attributes"> |
| 378 |
<xs:attributeGroup ref="univ-atts"/> |
| 379 |
<xs:attributeGroup ref="topicref-atts"/> |
| 380 |
<xs:attributeGroup ref="global-atts"/> |
| 381 |
</xs:attributeGroup> |
| 382 |
|
| 383 |
<xs:element name="topicCell"> |
| 384 |
<xs:complexType> |
| 385 |
<xs:complexContent> |
| 386 |
<xs:extension base="topicCell.class"> |
| 387 |
<xs:attribute name="class" default="+ map/relcell classify-d/topicCell "/> |
| 388 |
</xs:extension> |
| 389 |
</xs:complexContent> |
| 390 |
</xs:complexType> |
| 391 |
</xs:element> |
| 392 |
|
| 393 |
|
| 394 |
<!-- LONG NAME: Topic Subject Cell --> |
| 395 |
<xs:complexType name="subjectCell.class"> |
| 396 |
<xs:sequence> |
| 397 |
<xs:group ref="subjectCell.content"/> |
| 398 |
</xs:sequence> |
| 399 |
<xs:attributeGroup ref="subjectCell.attributes"/> |
| 400 |
</xs:complexType> |
| 401 |
|
| 402 |
<xs:group name="subjectCell.content"> |
| 403 |
<xs:sequence> |
| 404 |
<xs:sequence> |
| 405 |
<xs:choice minOccurs="0" maxOccurs="unbounded"> |
| 406 |
<xs:group ref="data.elements.incl"/> |
| 407 |
<xs:group ref="subjectref"/> |
| 408 |
<xs:group ref="topicref"/> |
| 409 |
</xs:choice> |
| 410 |
</xs:sequence> |
| 411 |
</xs:sequence> |
| 412 |
</xs:group> |
| 413 |
|
| 414 |
<xs:attributeGroup name="subjectCell.attributes"> |
| 415 |
<xs:attributeGroup ref="univ-atts"/> |
| 416 |
<xs:attributeGroup ref="topicref-atts"/> |
| 417 |
<xs:attributeGroup ref="global-atts"/> |
| 418 |
</xs:attributeGroup> |
| 419 |
|
| 420 |
<xs:element name="subjectCell"> |
| 421 |
<xs:complexType> |
| 422 |
<xs:complexContent> |
| 423 |
<xs:extension base="subjectCell.class"> |
| 424 |
<xs:attribute name="class" default="+ map/relcell classify-d/subjectCell "/> |
| 425 |
</xs:extension> |
| 426 |
</xs:complexContent> |
| 427 |
</xs:complexType> |
| 428 |
</xs:element> |
| 429 |
</xs:schema> |
| 430 |
<!-- ================== DITA Subject Classification Domain ====== --> |