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