1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!-- ============================================================= -->
|
---|
3 | <!-- HEADER -->
|
---|
4 | <!-- ============================================================= -->
|
---|
5 | <!-- MODULE: DITA Glossary XSD -->
|
---|
6 | <!-- VERSION: 1.1 -->
|
---|
7 | <!-- DATE: November 2006 -->
|
---|
8 | <!-- -->
|
---|
9 | <!-- ============================================================= -->
|
---|
10 |
|
---|
11 |
|
---|
12 | <!-- ============================================================= -->
|
---|
13 | <!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
|
---|
14 | <!-- -->
|
---|
15 | <!-- PURPOSE: W3C XML Schema to describe DITA glossary -->
|
---|
16 | <!-- -->
|
---|
17 | <!-- ORIGINAL CREATION DATE: -->
|
---|
18 | <!-- June 2006 -->
|
---|
19 | <!-- -->
|
---|
20 | <!-- (C) Copyright OASIS-Open.org 2006 -->
|
---|
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.1"/>
|
---|
28 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:softwareDomain.xsd:1.1"/>
|
---|
29 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:highlightDomain.xsd:1.1"/>
|
---|
30 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:uiDomain.xsd:1.1"/>
|
---|
31 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:utilitiesDomain.xsd:1.1"/>
|
---|
32 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:indexingDomain.xsd:1.1"/>
|
---|
33 |
|
---|
34 | <!-- ================ GROUP DEFINITIONS ===================== -->
|
---|
35 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:conceptGrp.xsd:1.1"/>
|
---|
36 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:topicGrp.xsd:1.1"/>
|
---|
37 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:glossaryGrp.xsd:1.1"/>
|
---|
38 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclGrp.xsd:1.1"/>
|
---|
39 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclGrp.xsd:1.1"/>
|
---|
40 |
|
---|
41 | <!-- ================= MODULE INLCUDE DEFINITION ================== -->
|
---|
42 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementMod.xsd:1.1"/>
|
---|
43 | <!-- ======== Table elements ======== -->
|
---|
44 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclMod.xsd:1.1"/>
|
---|
45 | <!-- ======= MetaData elements, plus keyword and indexterm ======= -->
|
---|
46 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclMod.xsd:1.1"/>
|
---|
47 |
|
---|
48 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementGrp.xsd:1.1">
|
---|
49 | <xs:group name="keyword">
|
---|
50 | <xs:choice>
|
---|
51 | <xs:group ref="keyword"/>
|
---|
52 | <xs:group ref="pr-d-keyword" />
|
---|
53 | <xs:group ref="ui-d-keyword" />
|
---|
54 | <xs:group ref="sw-d-keyword" />
|
---|
55 | </xs:choice>
|
---|
56 | </xs:group>
|
---|
57 |
|
---|
58 | <xs:group name="ph">
|
---|
59 | <xs:choice>
|
---|
60 | <xs:group ref="ph"/>
|
---|
61 | <xs:group ref="pr-d-ph" />
|
---|
62 | <xs:group ref="ui-d-ph" />
|
---|
63 | <xs:group ref="hi-d-ph" />
|
---|
64 | <xs:group ref="sw-d-ph" />
|
---|
65 | </xs:choice>
|
---|
66 | </xs:group>
|
---|
67 |
|
---|
68 | <xs:group name="pre">
|
---|
69 | <xs:choice>
|
---|
70 | <xs:group ref="pre"/>
|
---|
71 | <xs:group ref="pr-d-pre" />
|
---|
72 | <xs:group ref="ui-d-pre" />
|
---|
73 | <xs:group ref="sw-d-pre" />
|
---|
74 | </xs:choice>
|
---|
75 | </xs:group>
|
---|
76 |
|
---|
77 |
|
---|
78 | <xs:group name="dl">
|
---|
79 | <xs:choice>
|
---|
80 | <xs:group ref="dl"/>
|
---|
81 | <xs:group ref="pr-d-dl"/>
|
---|
82 | </xs:choice >
|
---|
83 | </xs:group >
|
---|
84 |
|
---|
85 |
|
---|
86 | <xs:group name="fig">
|
---|
87 | <xs:choice>
|
---|
88 | <xs:group ref="fig"/>
|
---|
89 | <xs:group ref="pr-d-fig"/>
|
---|
90 | <xs:group ref="ut-d-fig" />
|
---|
91 | </xs:choice>
|
---|
92 | </xs:group >
|
---|
93 |
|
---|
94 | <xs:group name="index-base">
|
---|
95 | <xs:choice>
|
---|
96 | <xs:group ref="index-base"/>
|
---|
97 | <xs:group ref="indexing-d-index-base"/>
|
---|
98 | </xs:choice>
|
---|
99 | </xs:group >
|
---|
100 |
|
---|
101 | </xs:redefine>
|
---|
102 |
|
---|
103 | <!-- ================ DOMAINS ATTRIBUTE DEFINITION ===================== -->
|
---|
104 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:topicMod.xsd:1.1" >
|
---|
105 | <xs:complexType name="topic.class">
|
---|
106 | <xs:complexContent>
|
---|
107 | <xs:extension base="topic.class">
|
---|
108 | <xs:attribute name="domains" type="xs:string" default="(topic ui-d) (topic hi-d) (topic sw-d) (topic pr-d) (topic ut-d) (topic indexing-d)"/>
|
---|
109 | </xs:extension>
|
---|
110 | </xs:complexContent>
|
---|
111 | </xs:complexType>
|
---|
112 | </xs:redefine>
|
---|
113 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:conceptMod.xsd:1.1" >
|
---|
114 | <xs:complexType name="concept.class">
|
---|
115 | <xs:complexContent>
|
---|
116 | <xs:extension base="concept.class">
|
---|
117 | <xs:attribute name="domains" type="xs:string" default="(topic ui-d) (topic hi-d) (topic sw-d) (topic pr-d) (topic ut-d) (topic indexing-d)"/>
|
---|
118 | </xs:extension>
|
---|
119 | </xs:complexContent>
|
---|
120 | </xs:complexType>
|
---|
121 | </xs:redefine>
|
---|
122 |
|
---|
123 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:glossaryMod.xsd:1.1" >
|
---|
124 | <xs:complexType name="glossentry.class">
|
---|
125 | <xs:complexContent>
|
---|
126 | <xs:extension base="glossentry.class">
|
---|
127 | <xs:attribute name="domains" type="xs:string" default="(topic ui-d) (topic hi-d) (topic sw-d) (topic pr-d) (topic ut-d) (topic indexing-d)"/>
|
---|
128 | </xs:extension>
|
---|
129 | </xs:complexContent>
|
---|
130 | </xs:complexType>
|
---|
131 | </xs:redefine>
|
---|
132 |
|
---|
133 | <!-- ================ INFO-TYPES DEFINITION ===================== -->
|
---|
134 | <xs:group name="info-types">
|
---|
135 | <xs:choice/>
|
---|
136 | </xs:group>
|
---|
137 |
|
---|
138 | </xs:schema>
|
---|