1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!-- ============================================================= -->
|
---|
3 | <!-- HEADER -->
|
---|
4 | <!-- ============================================================= -->
|
---|
5 | <!-- MODULE: DITA Concept XSD -->
|
---|
6 | <!-- VERSION: 1.2 -->
|
---|
7 | <!-- DATE: November 2009 -->
|
---|
8 | <!-- -->
|
---|
9 | <!-- ============================================================= -->
|
---|
10 |
|
---|
11 |
|
---|
12 | <!-- ============================================================= -->
|
---|
13 | <!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
|
---|
14 | <!-- -->
|
---|
15 | <!-- PURPOSE: W3C XML Schema to describe DITA concepts -->
|
---|
16 | <!-- -->
|
---|
17 | <!-- ORIGINAL CREATION DATE: -->
|
---|
18 | <!-- September 2009 -->
|
---|
19 | <!-- -->
|
---|
20 | <!-- (C) Copyright OASIS-Open.org 2009 -->
|
---|
21 | <!-- All Rights Reserved. -->
|
---|
22 | <!-- ============================================================= -->
|
---|
23 |
|
---|
24 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/">
|
---|
25 | <!-- Add the domains to the base topic XML Schema -->
|
---|
26 | <!-- ================ TOPIC DOMAINS INLCUSION ===================== -->
|
---|
27 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:programmingDomain.xsd:1.2"/>
|
---|
28 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:softwareDomain.xsd:1.2"/>
|
---|
29 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:highlightDomain.xsd:1.2"/>
|
---|
30 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:uiDomain.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:xsd:hazardstatementDomain.xsd:1.2"/>
|
---|
34 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:abbreviateDomain.xsd:1.2" />
|
---|
35 |
|
---|
36 | <!-- ================ CONCEPT GROUP DEFINITION===================== -->
|
---|
37 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:glossgroupGrp.xsd:1.2" />
|
---|
38 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:conceptGrp.xsd:1.2"/>
|
---|
39 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclGrp.xsd:1.2"/>
|
---|
40 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclGrp.xsd:1.2"/>
|
---|
41 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:topicGrp.xsd:1.2"/>
|
---|
42 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:glossentryGrp.xsd:1.2"/>
|
---|
43 |
|
---|
44 | <!-- ================= MODULE INLCUDE DEFINITION ================== -->
|
---|
45 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementMod.xsd:1.2"/>
|
---|
46 | <!-- ======== Table elements ======== -->
|
---|
47 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclMod.xsd:1.2"/>
|
---|
48 | <!-- ======= MetaData elements, plus keyword and indexterm ======= -->
|
---|
49 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclMod.xsd:1.2"/>
|
---|
50 |
|
---|
51 |
|
---|
52 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementGrp.xsd:1.2">
|
---|
53 | <xs:group name="keyword">
|
---|
54 | <xs:choice>
|
---|
55 | <xs:group ref="keyword"/>
|
---|
56 | <xs:group ref="pr-d-keyword" />
|
---|
57 | <xs:group ref="ui-d-keyword" />
|
---|
58 | <xs:group ref="sw-d-keyword" />
|
---|
59 | </xs:choice>
|
---|
60 | </xs:group>
|
---|
61 |
|
---|
62 | <xs:group name="ph">
|
---|
63 | <xs:choice>
|
---|
64 | <xs:group ref="ph"/>
|
---|
65 | <xs:group ref="pr-d-ph" />
|
---|
66 | <xs:group ref="ui-d-ph" />
|
---|
67 | <xs:group ref="hi-d-ph" />
|
---|
68 | <xs:group ref="sw-d-ph" />
|
---|
69 | </xs:choice>
|
---|
70 | </xs:group>
|
---|
71 |
|
---|
72 | <xs:group name="pre">
|
---|
73 | <xs:choice>
|
---|
74 | <xs:group ref="pre"/>
|
---|
75 | <xs:group ref="pr-d-pre" />
|
---|
76 | <xs:group ref="ui-d-pre" />
|
---|
77 | <xs:group ref="sw-d-pre" />
|
---|
78 | </xs:choice>
|
---|
79 | </xs:group>
|
---|
80 |
|
---|
81 |
|
---|
82 | <xs:group name="dl">
|
---|
83 | <xs:choice>
|
---|
84 | <xs:group ref="dl"/>
|
---|
85 | <xs:group ref="pr-d-dl"/>
|
---|
86 | </xs:choice >
|
---|
87 | </xs:group >
|
---|
88 |
|
---|
89 |
|
---|
90 | <xs:group name="fig">
|
---|
91 | <xs:choice>
|
---|
92 | <xs:group ref="fig"/>
|
---|
93 | <xs:group ref="pr-d-fig"/>
|
---|
94 | <xs:group ref="ut-d-fig" />
|
---|
95 | </xs:choice>
|
---|
96 | </xs:group >
|
---|
97 |
|
---|
98 | <xs:group name="index-base">
|
---|
99 | <xs:choice>
|
---|
100 | <xs:group ref="index-base"/>
|
---|
101 | <xs:group ref="indexing-d-index-base"/>
|
---|
102 | </xs:choice>
|
---|
103 | </xs:group >
|
---|
104 |
|
---|
105 | <xs:group name="note">
|
---|
106 | <xs:choice>
|
---|
107 | <xs:group ref="note"/>
|
---|
108 | <xs:group ref="hazard-d-note"/>
|
---|
109 | </xs:choice>
|
---|
110 | </xs:group >
|
---|
111 |
|
---|
112 | <xs:group name="term">
|
---|
113 | <xs:choice>
|
---|
114 | <xs:group ref="term"/>
|
---|
115 | <xs:group ref="abbrev-d-term"/>
|
---|
116 | </xs:choice>
|
---|
117 | </xs:group >
|
---|
118 |
|
---|
119 | </xs:redefine>
|
---|
120 |
|
---|
121 |
|
---|
122 |
|
---|
123 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:topicMod.xsd:1.2" />
|
---|
124 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:conceptMod.xsd:1.2" />
|
---|
125 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:glossentryMod.xsd:1.2" />
|
---|
126 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:glossgroupMod.xsd:1.2" />
|
---|
127 |
|
---|
128 |
|
---|
129 | <!-- ================ INFO-TYPES DEFINITION ===================== -->
|
---|
130 | <xs:group name="info-types">
|
---|
131 | <xs:sequence/>
|
---|
132 | </xs:group>
|
---|
133 |
|
---|
134 | <!-- ================ DOMAINS ATTRIBUTE DEFINITION ===================== -->
|
---|
135 | <xs:attributeGroup name="domains-att">
|
---|
136 | <xs:attribute name="domains" type="xs:string"
|
---|
137 | default="(topic abbrev-d)
|
---|
138 | (topic hazard-d)
|
---|
139 | (topic hi-d)
|
---|
140 | (topic indexing-d)
|
---|
141 | (topic pr-d)
|
---|
142 | (topic sw-d)
|
---|
143 | (topic ui-d)
|
---|
144 | (topic ut-d)
|
---|
145 | (topic concept)
|
---|
146 | (topic concept glossentry)
|
---|
147 | (topic concept glossgroup)"/>
|
---|
148 | </xs:attributeGroup>
|
---|
149 |
|
---|
150 | </xs:schema>
|
---|