| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!-- ============================================================= --> |
| 3 |
<!-- HEADER --> |
| 4 |
<!-- ============================================================= --> |
| 5 |
<!-- MODULE: DITA Machinery Task XSD --> |
| 6 |
<!-- VERSION: 1.2 --> |
| 7 |
<!-- DATE: April 2009 --> |
| 8 |
<!----> |
| 9 |
<!-- ============================================================= --> |
| 10 |
<!-- SYSTEM: Darwin Information Typing Architecture (DITA) --> |
| 11 |
<!----> |
| 12 |
<!-- PURPOSE: XSD to describe DITA Machine Industry Tasks --> |
| 13 |
<!----> |
| 14 |
<!-- ORIGINAL CREATION DATE: --> |
| 15 |
<!-- April 2009 --> |
| 16 |
<!----> |
| 17 |
<!-- (C) Copyright OASIS Open 2009. --> |
| 18 |
<!-- All Rights Reserved. --> |
| 19 |
<!----> |
| 20 |
<!-- ============================================================= --> |
| 21 |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/"> |
| 22 |
|
| 23 |
<xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:highlightDomain.xsd:1.2"/> |
| 24 |
<xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:uiDomain.xsd:1.2"/> |
| 25 |
<xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:utilitiesDomain.xsd:1.2"/> |
| 26 |
<xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:indexingDomain.xsd:1.2"/> |
| 27 |
<xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:hazardstatementDomain.xsd:1.2"/> |
| 28 |
<xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:taskreqDomain.xsd:1.2"/> |
| 29 |
|
| 30 |
<!-- ================ GROUP DEFINITIONS ===================== --> |
| 31 |
<xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclGrp.xsd:1.2"/> |
| 32 |
<xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclGrp.xsd:1.2"/> |
| 33 |
<xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:topicGrp.xsd:1.2"/> |
| 34 |
|
| 35 |
<!-- ================= MODULE INLCUDE DEFINITION ================== --> |
| 36 |
<xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementMod.xsd:1.2"/> |
| 37 |
<!-- ======== Table elements ======== --> |
| 38 |
<xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclMod.xsd:1.2"/> |
| 39 |
<!-- ======= MetaData elements, plus keyword and indexterm ======= --> |
| 40 |
<xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclMod.xsd:1.2"/> |
| 41 |
|
| 42 |
<xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:topicMod.xsd:1.2" /> |
| 43 |
<xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:taskMod.xsd:1.2" /> |
| 44 |
|
| 45 |
|
| 46 |
<!-- ============================================================= --> |
| 47 |
<!-- DOMAIN ATTRIBUTE DECLARATIONS --> |
| 48 |
<!-- ============================================================= --> |
| 49 |
<!-- ============================================================= --> |
| 50 |
<!-- DOMAIN EXTENSIONS --> |
| 51 |
<!-- ============================================================= --> |
| 52 |
<!-- |
| 53 |
One for each extended base element, with |
| 54 |
the name of the domain(s) in which the |
| 55 |
extension was declared |
| 56 |
--> |
| 57 |
<xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementGrp.xsd:1.2"> |
| 58 |
<xs:group name="pre"> |
| 59 |
<xs:choice> |
| 60 |
<xs:group ref="pre"/> |
| 61 |
<xs:group ref="ui-d-pre"/> |
| 62 |
</xs:choice> |
| 63 |
</xs:group> |
| 64 |
<xs:group name="keyword"> |
| 65 |
<xs:choice> |
| 66 |
<xs:group ref="keyword"/> |
| 67 |
<xs:group ref="ui-d-keyword"/> |
| 68 |
</xs:choice> |
| 69 |
</xs:group> |
| 70 |
<xs:group name="ph"> |
| 71 |
<xs:choice> |
| 72 |
<xs:group ref="ph"/> |
| 73 |
<xs:group ref="hi-d-ph"/> |
| 74 |
<xs:group ref="ui-d-ph"/> |
| 75 |
</xs:choice> |
| 76 |
</xs:group> |
| 77 |
<xs:group name="fig"> |
| 78 |
<xs:choice> |
| 79 |
<xs:group ref="fig"/> |
| 80 |
<xs:group ref="ut-d-fig"/> |
| 81 |
</xs:choice> |
| 82 |
</xs:group> |
| 83 |
|
| 84 |
<xs:group name="index-base"> |
| 85 |
<xs:choice> |
| 86 |
<xs:group ref="index-base"/> |
| 87 |
<xs:group ref="indexing-d-index-base"/> |
| 88 |
</xs:choice> |
| 89 |
</xs:group> |
| 90 |
|
| 91 |
<xs:group name="note"> |
| 92 |
<xs:choice> |
| 93 |
<xs:group ref="note"/> |
| 94 |
<xs:group ref="hazard-d-note"/> |
| 95 |
</xs:choice> |
| 96 |
</xs:group> |
| 97 |
</xs:redefine> |
| 98 |
|
| 99 |
<xs:include schemaLocation="urn:oasis:names:tc:dita:spec:machinery:xsd:machineryTaskbodyConstraintMod.xsd:1.2"/> |
| 100 |
|
| 101 |
<!-- ============================================================= --> |
| 102 |
<!-- DOMAIN ATTRIBUTE EXTENSIONS --> |
| 103 |
<!-- ============================================================= --> |
| 104 |
<!-- ============================================================= --> |
| 105 |
<!-- TOPIC NESTING OVERRIDE --> |
| 106 |
<!-- ============================================================= --> |
| 107 |
<!-- |
| 108 |
Redefine the infotype entity to exclude |
| 109 |
other topic types and disallow nesting |
| 110 |
--> |
| 111 |
|
| 112 |
<!-- ============================================================= --> |
| 113 |
<!-- DOMAINS ATTRIBUTE OVERRIDE --> |
| 114 |
<!-- ============================================================= --> |
| 115 |
<xs:attributeGroup name="domains-att"> |
| 116 |
<xs:attribute name="domains" type="xs:string" |
| 117 |
default="(topic hazard-d) |
| 118 |
(topic hi-d) |
| 119 |
(topic indexing-d) |
| 120 |
(topic ui-d) |
| 121 |
(topic ut-d) |
| 122 |
(topic task) |
| 123 |
(topic task taskreq-d) |
| 124 |
(topic task+taskreq-d machineryTaskbody-c)"/> |
| 125 |
</xs:attributeGroup> |
| 126 |
|
| 127 |
<xs:group name="info-types"> |
| 128 |
<xs:sequence/> |
| 129 |
</xs:group> |
| 130 |
|
| 131 |
</xs:schema> |
| 132 |
<!-- ================== End DITA Machinery Task XSD ============= --> |