1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!-- This file is part of the DITA learning and training content
|
---|
3 | specialization working design. It is a work-in-progress by
|
---|
4 | the OASIS DITA learning and training content specialization
|
---|
5 | sub-committee.-->
|
---|
6 | <!-- (C) Copyright OASIS Open 2007, 2009 -->
|
---|
7 | <!-- All Rights Reserved. -->
|
---|
8 | <!-- ============================================================= -->
|
---|
9 | <!-- HEADER -->
|
---|
10 | <!-- ============================================================= -->
|
---|
11 | <!-- MODULE: DITA learningContent XSD -->
|
---|
12 | <!-- VERSION: 0.1 -->
|
---|
13 | <!-- DATE: May 2007 -->
|
---|
14 | <!-- -->
|
---|
15 | <!-- ============================================================= -->
|
---|
16 | <!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
|
---|
17 | <!-- -->
|
---|
18 | <!-- PURPOSE: W3C XML Schema to describe DITA Learning Base -->
|
---|
19 | <!-- -->
|
---|
20 | <!-- ORIGINAL CREATION DATE: -->
|
---|
21 | <!-- May 2007 -->
|
---|
22 | <!-- -->
|
---|
23 | <!-- UPDATES: -->
|
---|
24 | <!-- ============================================================= -->
|
---|
25 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
---|
26 | xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/" elementFormDefault="qualified"
|
---|
27 | attributeFormDefault="unqualified">
|
---|
28 | <!-- Add the domains to the base topic XML Schema -->
|
---|
29 | <!-- ================ TOPIC DOMAINS ===================== -->
|
---|
30 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:highlightDomain.xsd:1.2"/>
|
---|
31 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:utilitiesDomain.xsd:1.2"/>
|
---|
32 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:indexingDomain.xsd:1.2"/>
|
---|
33 | <xs:include schemaLocation="urn:oasis:names:tc:dita:spec:learning:xsd:learningMetadataDomain.xsd:1.2" />
|
---|
34 | <xs:include schemaLocation="urn:oasis:names:tc:dita:spec:learning:xsd:learningDomain.xsd:1.2"/>
|
---|
35 |
|
---|
36 |
|
---|
37 | <!-- ================ GROUP DEFINITIONS ===================== -->
|
---|
38 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:topicGrp.xsd:1.2"/>
|
---|
39 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclGrp.xsd:1.2"/>
|
---|
40 |
|
---|
41 |
|
---|
42 | <!-- ================= MODULE INLCUDE DEFINITION ================== -->
|
---|
43 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementMod.xsd:1.2"/>
|
---|
44 | <!-- ======== Table elements ======== -->
|
---|
45 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclMod.xsd:1.2"/>
|
---|
46 | <!-- ======= MetaData elements, plus keyword and indexterm ======= -->
|
---|
47 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclMod.xsd:1.2"/>
|
---|
48 |
|
---|
49 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:referenceGrp.xsd:1.2"/>
|
---|
50 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:taskGrp.xsd:1.2"/>
|
---|
51 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:conceptGrp.xsd:1.2"/>
|
---|
52 |
|
---|
53 |
|
---|
54 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementGrp.xsd:1.2">
|
---|
55 |
|
---|
56 | <xs:group name="ph">
|
---|
57 | <xs:choice>
|
---|
58 | <xs:group ref="ph"/>
|
---|
59 | <xs:group ref="hi-d-ph"/>
|
---|
60 | </xs:choice>
|
---|
61 | </xs:group>
|
---|
62 |
|
---|
63 | <xs:group name="fig">
|
---|
64 | <xs:choice>
|
---|
65 | <xs:group ref="fig"/>
|
---|
66 | <xs:group ref="ut-d-fig"/>
|
---|
67 | </xs:choice>
|
---|
68 | </xs:group>
|
---|
69 | <xs:group name="index-base">
|
---|
70 | <xs:choice>
|
---|
71 | <xs:group ref="index-base"/>
|
---|
72 | <xs:group ref="indexing-d-index-base"/>
|
---|
73 | </xs:choice>
|
---|
74 | </xs:group>
|
---|
75 |
|
---|
76 | <xs:group name="note">
|
---|
77 | <xs:choice>
|
---|
78 | <xs:group ref="note"/>
|
---|
79 | <xs:group ref="learning-d-note"/>
|
---|
80 | </xs:choice>
|
---|
81 | </xs:group>
|
---|
82 | </xs:redefine>
|
---|
83 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclGrp.xsd:1.2">
|
---|
84 | <xs:group name="metadata">
|
---|
85 | <xs:choice>
|
---|
86 | <xs:group ref="metadata"/>
|
---|
87 | <xs:group ref="learningmeta-d-metadata"/>
|
---|
88 | </xs:choice>
|
---|
89 | </xs:group>
|
---|
90 | </xs:redefine>
|
---|
91 |
|
---|
92 |
|
---|
93 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:spec:learning:xsd:learningInteractionBaseDomain.xsd:1.2">
|
---|
94 | <xs:group name="lcInteractionBase">
|
---|
95 | <xs:choice>
|
---|
96 | <xs:group ref="lcInteractionBase"/>
|
---|
97 | <xs:group ref="learning-d-lcInteractionBase"/>
|
---|
98 | </xs:choice>
|
---|
99 | </xs:group>
|
---|
100 | </xs:redefine>
|
---|
101 |
|
---|
102 | <!-- ================ INFO TYPES ===================== -->
|
---|
103 | <xs:include schemaLocation="urn:oasis:names:tc:dita:spec:learning:xsd:learningContentGrp.xsd:1.2"/>
|
---|
104 | <xs:include schemaLocation="urn:oasis:names:tc:dita:spec:learning:xsd:learningBaseGrp.xsd:1.2"/>
|
---|
105 | <xs:include schemaLocation="urn:oasis:names:tc:dita:spec:learning:xsd:learningSummaryGrp.xsd:1.2"/>
|
---|
106 | <xs:include schemaLocation="urn:oasis:names:tc:dita:spec:learning:xsd:learningAssessmentGrp.xsd:1.2"/>
|
---|
107 |
|
---|
108 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:topicMod.xsd:1.2">
|
---|
109 | <xs:group name="topic-info-types">
|
---|
110 | <xs:sequence>
|
---|
111 | <xs:group ref="info-types"/>
|
---|
112 | </xs:sequence>
|
---|
113 | </xs:group>
|
---|
114 | </xs:redefine>
|
---|
115 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:taskMod.xsd:1.2">
|
---|
116 | <xs:group name="task-info-types">
|
---|
117 | <xs:sequence>
|
---|
118 | <xs:group ref="info-types"/>
|
---|
119 | </xs:sequence>
|
---|
120 | </xs:group>
|
---|
121 | </xs:redefine>
|
---|
122 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:referenceMod.xsd:1.2">
|
---|
123 |
|
---|
124 | <xs:group name="reference-info-types">
|
---|
125 | <xs:choice>
|
---|
126 | <xs:group ref="info-types"/>
|
---|
127 | </xs:choice>
|
---|
128 | </xs:group>
|
---|
129 | </xs:redefine>
|
---|
130 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:conceptMod.xsd:1.2">
|
---|
131 | <xs:group name="concept-info-types">
|
---|
132 | <xs:choice>
|
---|
133 | <xs:group ref="info-types"/>
|
---|
134 | </xs:choice>
|
---|
135 | </xs:group>
|
---|
136 | </xs:redefine>
|
---|
137 |
|
---|
138 |
|
---|
139 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:spec:learning:xsd:learningContentMod.xsd:1.2">
|
---|
140 | <xs:group name="learningContent-info-types">
|
---|
141 | <xs:choice>
|
---|
142 | <xs:group ref="info-types"/>
|
---|
143 | </xs:choice>
|
---|
144 | </xs:group>
|
---|
145 |
|
---|
146 | <xs:group name="learningContent.content">
|
---|
147 | <xs:sequence>
|
---|
148 | <xs:group ref="learningContent.content"/>
|
---|
149 | <xs:element ref="learningAssessment" minOccurs="0"/>
|
---|
150 | <xs:element ref="learningSummary" minOccurs="0"/>
|
---|
151 | </xs:sequence>
|
---|
152 | </xs:group>
|
---|
153 | </xs:redefine>
|
---|
154 |
|
---|
155 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:spec:learning:xsd:learningAssessmentMod.xsd:1.2">
|
---|
156 | <xs:group name="learningAssessment-info-types">
|
---|
157 | <xs:choice>
|
---|
158 | <xs:group ref="info-types"/>
|
---|
159 | </xs:choice>
|
---|
160 | </xs:group>
|
---|
161 | </xs:redefine>
|
---|
162 |
|
---|
163 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:spec:learning:xsd:learningSummaryMod.xsd:1.2">
|
---|
164 | <xs:group name="learningSummary-info-types">
|
---|
165 | <xs:sequence>
|
---|
166 | <xs:group ref="info-types"/>
|
---|
167 | </xs:sequence>
|
---|
168 | </xs:group>
|
---|
169 | </xs:redefine>
|
---|
170 |
|
---|
171 | <xs:include schemaLocation="urn:oasis:names:tc:dita:spec:learning:xsd:learningBaseMod.xsd:1.2"/>
|
---|
172 |
|
---|
173 |
|
---|
174 | <xs:group name="info-types">
|
---|
175 | <xs:choice>
|
---|
176 | <xs:element ref="topic"/>
|
---|
177 | <xs:element ref="task"/>
|
---|
178 | <xs:element ref="concept"/>
|
---|
179 | <xs:element ref="reference"/>
|
---|
180 | </xs:choice>
|
---|
181 | </xs:group>
|
---|
182 |
|
---|
183 | <xs:attributeGroup name="domains-att">
|
---|
184 | <xs:attribute name="domains" type="xs:string"
|
---|
185 | default="(topic hi-d)
|
---|
186 | (topic indexing-d)
|
---|
187 | (topic ut-d)
|
---|
188 | (topic learningmeta-d)
|
---|
189 | (topic learningInteractionBase-d learning-d)
|
---|
190 | (topic learningBase+learningInteractionBase-d)
|
---|
191 | (topic learningBase+learningInteractionBase-d learningAssessment)
|
---|
192 | (topic learningBase+learningInteractionBase-d learningContent)
|
---|
193 | (topic learningBase+learningInteractionBase-d learningSummary)
|
---|
194 | (topic concept)
|
---|
195 | (topic reference)
|
---|
196 | (topic task)"
|
---|
197 | />
|
---|
198 | </xs:attributeGroup>
|
---|
199 |
|
---|
200 | </xs:schema>
|
---|