1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!-- ============================================================= -->
|
---|
3 | <!-- HEADER -->
|
---|
4 | <!-- ============================================================= -->
|
---|
5 | <!-- MODULE: DITA BASE XSD -->
|
---|
6 | <!-- VERSION: 1.2 -->
|
---|
7 | <!-- DATE: March 2009 -->
|
---|
8 | <!-- -->
|
---|
9 | <!-- ============================================================= -->
|
---|
10 |
|
---|
11 | <!-- ============================================================= -->
|
---|
12 | <!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
|
---|
13 | <!-- -->
|
---|
14 | <!-- PURPOSE: Based W3C XML Schema holds all the information -->
|
---|
15 | <!-- types -->
|
---|
16 | <!-- -->
|
---|
17 | <!-- ORIGINAL CREATION DATE: -->
|
---|
18 | <!-- March 2001 -->
|
---|
19 | <!-- -->
|
---|
20 | <!-- (C) Copyright OASIS-Open.org 2005, 2009 -->
|
---|
21 | <!-- (C) Copyright IBM Corporation 2001, 2004. -->
|
---|
22 | <!-- All Rights Reserved. -->
|
---|
23 | <!-- -->
|
---|
24 | <!-- UPDATES -->
|
---|
25 | <!-- 2009.03.20 EAS: Added xml:lang and DITAArchVersion attribute to dita element -->
|
---|
26 | <!-- ============================================================= -->
|
---|
27 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/">
|
---|
28 | <!-- Add the domains to the base topic XML Schema -->
|
---|
29 | <!-- ================ TOPIC DOMAINS ===================== -->
|
---|
30 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:uiDomain.xsd:1.2"/>
|
---|
31 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:softwareDomain.xsd:1.2"/>
|
---|
32 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:highlightDomain.xsd:1.2"/>
|
---|
33 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:programmingDomain.xsd:1.2"/>
|
---|
34 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:utilitiesDomain.xsd:1.2"/>
|
---|
35 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:indexingDomain.xsd:1.2"/>
|
---|
36 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:hazardstatementDomain.xsd:1.2"/>
|
---|
37 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:abbreviateDomain.xsd:1.2" />
|
---|
38 |
|
---|
39 | <!-- ================ GROUP DEFINITIONS ===================== -->
|
---|
40 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:referenceGrp.xsd:1.2" />
|
---|
41 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:taskGrp.xsd:1.2" />
|
---|
42 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:conceptGrp.xsd:1.2" />
|
---|
43 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:glossentryGrp.xsd:1.2" />
|
---|
44 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:glossgroupGrp.xsd:1.2" />
|
---|
45 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclGrp.xsd:1.2"/>
|
---|
46 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclGrp.xsd:1.2"/>
|
---|
47 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:topicGrp.xsd:1.2"/>
|
---|
48 |
|
---|
49 | <!-- ================= MODULE INLCUDE DEFINITION ================== -->
|
---|
50 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementMod.xsd:1.2"/>
|
---|
51 | <!-- ======== Table elements ======== -->
|
---|
52 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclMod.xsd:1.2"/>
|
---|
53 | <!-- ======= MetaData elements, plus keyword and indexterm ======= -->
|
---|
54 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclMod.xsd:1.2"/>
|
---|
55 |
|
---|
56 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementGrp.xsd:1.2">
|
---|
57 | <xs:group name="keyword">
|
---|
58 | <xs:choice>
|
---|
59 | <xs:group ref="keyword"/>
|
---|
60 | <xs:group ref="pr-d-keyword"/>
|
---|
61 | <xs:group ref="ui-d-keyword"/>
|
---|
62 | <xs:group ref="sw-d-keyword"/>
|
---|
63 | </xs:choice>
|
---|
64 | </xs:group>
|
---|
65 |
|
---|
66 | <xs:group name="ph">
|
---|
67 | <xs:choice>
|
---|
68 | <xs:group ref="ph"/>
|
---|
69 | <xs:group ref="pr-d-ph"/>
|
---|
70 | <xs:group ref="ui-d-ph"/>
|
---|
71 | <xs:group ref="hi-d-ph"/>
|
---|
72 | <xs:group ref="sw-d-ph"/>
|
---|
73 | </xs:choice>
|
---|
74 | </xs:group>
|
---|
75 |
|
---|
76 | <xs:group name="pre">
|
---|
77 | <xs:choice>
|
---|
78 | <xs:group ref="pre"/>
|
---|
79 | <xs:group ref="pr-d-pre"/>
|
---|
80 | <xs:group ref="ui-d-pre"/>
|
---|
81 | <xs:group ref="sw-d-pre"/>
|
---|
82 | </xs:choice>
|
---|
83 | </xs:group>
|
---|
84 |
|
---|
85 |
|
---|
86 | <xs:group name="dl">
|
---|
87 | <xs:choice>
|
---|
88 | <xs:group ref="dl"/>
|
---|
89 | <xs:group ref="pr-d-dl"/>
|
---|
90 | </xs:choice>
|
---|
91 | </xs:group>
|
---|
92 |
|
---|
93 |
|
---|
94 | <xs:group name="fig">
|
---|
95 | <xs:choice>
|
---|
96 | <xs:group ref="fig"/>
|
---|
97 | <xs:group ref="pr-d-fig"/>
|
---|
98 | <xs:group ref="ut-d-fig"/>
|
---|
99 | </xs:choice>
|
---|
100 | </xs:group>
|
---|
101 |
|
---|
102 | <xs:group name="index-base">
|
---|
103 | <xs:choice>
|
---|
104 | <xs:group ref="index-base"/>
|
---|
105 | <xs:group ref="indexing-d-index-base"/>
|
---|
106 | </xs:choice>
|
---|
107 | </xs:group>
|
---|
108 |
|
---|
109 | <xs:group name="note">
|
---|
110 | <xs:choice>
|
---|
111 | <xs:group ref="note"/>
|
---|
112 | <xs:group ref="hazard-d-note"/>
|
---|
113 | </xs:choice>
|
---|
114 | </xs:group>
|
---|
115 |
|
---|
116 | <xs:group name="term">
|
---|
117 | <xs:choice>
|
---|
118 | <xs:group ref="term"/>
|
---|
119 | <xs:group ref="abbrev-d-term"/>
|
---|
120 | </xs:choice>
|
---|
121 | </xs:group>
|
---|
122 |
|
---|
123 | </xs:redefine>
|
---|
124 |
|
---|
125 | <!-- ================ INFO TYPES ===================== -->
|
---|
126 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:topicMod.xsd:1.2" >
|
---|
127 |
|
---|
128 | <xs:group name="topic-info-types">
|
---|
129 | <xs:choice>
|
---|
130 | <xs:group ref="info-types"/>
|
---|
131 | </xs:choice>
|
---|
132 | </xs:group>
|
---|
133 | </xs:redefine>
|
---|
134 |
|
---|
135 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:conceptMod.xsd:1.2" >
|
---|
136 |
|
---|
137 | <xs:group name="concept-info-types">
|
---|
138 | <xs:choice>
|
---|
139 | <xs:group ref="info-types"/>
|
---|
140 | </xs:choice>
|
---|
141 | </xs:group>
|
---|
142 | </xs:redefine>
|
---|
143 |
|
---|
144 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:strictTaskbodyConstraintMod.xsd:1.2">
|
---|
145 | <xs:group name="task-info-types">
|
---|
146 | <xs:choice>
|
---|
147 | <xs:group ref="info-types"/>
|
---|
148 | </xs:choice>
|
---|
149 | </xs:group>
|
---|
150 | </xs:redefine>
|
---|
151 |
|
---|
152 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:referenceMod.xsd:1.2" >
|
---|
153 |
|
---|
154 | <xs:group name="reference-info-types">
|
---|
155 | <xs:choice>
|
---|
156 | <xs:group ref="info-types"/>
|
---|
157 | </xs:choice>
|
---|
158 | </xs:group>
|
---|
159 | </xs:redefine>
|
---|
160 |
|
---|
161 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:glossentryMod.xsd:1.2" >
|
---|
162 |
|
---|
163 | <xs:group name="glossentry-info-types">
|
---|
164 | <xs:choice>
|
---|
165 | <xs:group ref="no-topic-nesting"/>
|
---|
166 | </xs:choice>
|
---|
167 | </xs:group>
|
---|
168 |
|
---|
169 | </xs:redefine>
|
---|
170 |
|
---|
171 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:glossgroupMod.xsd:1.2">
|
---|
172 |
|
---|
173 | <xs:group name="glossgroup-info-types">
|
---|
174 | <xs:choice>
|
---|
175 | <xs:group ref="glossgroup"/>
|
---|
176 | <xs:group ref="glossentry"/>
|
---|
177 | </xs:choice>
|
---|
178 | </xs:group>
|
---|
179 |
|
---|
180 | </xs:redefine>
|
---|
181 |
|
---|
182 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:ditabaseMod.xsd"/>
|
---|
183 |
|
---|
184 | <xs:group name="ditabase-info-types">
|
---|
185 | <xs:choice>
|
---|
186 | <xs:group ref="info-types"/>
|
---|
187 | </xs:choice>
|
---|
188 | </xs:group>
|
---|
189 |
|
---|
190 | <xs:group name="info-types">
|
---|
191 | <xs:choice>
|
---|
192 | <xs:element ref="topic"/>
|
---|
193 | <xs:element ref="task"/>
|
---|
194 | <xs:element ref="concept"/>
|
---|
195 | <xs:element ref="reference"/>
|
---|
196 | <xs:element ref="glossentry"/>
|
---|
197 | <xs:element ref="glossgroup"/>
|
---|
198 | </xs:choice>
|
---|
199 | </xs:group>
|
---|
200 |
|
---|
201 | <xs:attributeGroup name="domains-att">
|
---|
202 | <xs:attribute name="domains" type="xs:string"
|
---|
203 | default="(topic hazard-d)
|
---|
204 | (topic abbrev-d)
|
---|
205 | (topic hi-d)
|
---|
206 | (topic indexing-d)
|
---|
207 | (topic sw-d)
|
---|
208 | (topic pr-d)
|
---|
209 | (topic ui-d)
|
---|
210 | (topic ut-d)
|
---|
211 | (topic concept)
|
---|
212 | (topic concept glossentry)
|
---|
213 | (topic concept glossgroup)
|
---|
214 | (topic reference)
|
---|
215 | (topic task)
|
---|
216 | (topic task strictTaskbody-c)
|
---|
217 | "/>
|
---|
218 | </xs:attributeGroup>
|
---|
219 |
|
---|
220 | </xs:schema>
|
---|