1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!-- ============================================================= -->
|
---|
3 | <!-- HEADER -->
|
---|
4 | <!-- ============================================================= -->
|
---|
5 | <!-- MODULE: DITA Highlight Domain -->
|
---|
6 | <!-- VERSION: 1.2 -->
|
---|
7 | <!-- DATE: November 2009 -->
|
---|
8 | <!-- -->
|
---|
9 | <!-- ============================================================= -->
|
---|
10 |
|
---|
11 | <!-- ============================================================= -->
|
---|
12 | <!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
|
---|
13 | <!-- -->
|
---|
14 | <!-- PURPOSE: Define elements and specialization attributes -->
|
---|
15 | <!-- for Highlight Domain -->
|
---|
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 |
|
---|
25 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
---|
26 |
|
---|
27 | <xs:annotation>
|
---|
28 | <xs:appinfo>
|
---|
29 | <dita:domainsModule xmlns:dita="http://dita.oasis-open.org/architecture/2005/">(topic hi-d)</dita:domainsModule>
|
---|
30 | </xs:appinfo>
|
---|
31 | <xs:documentation>
|
---|
32 |
|
---|
33 | </xs:documentation>
|
---|
34 | </xs:annotation>
|
---|
35 |
|
---|
36 |
|
---|
37 | <xs:group name="hi-d-ph">
|
---|
38 | <xs:choice>
|
---|
39 | <xs:element ref="sup" />
|
---|
40 | <xs:element ref="sub" />
|
---|
41 | <xs:element ref="tt" />
|
---|
42 | <xs:element ref="b" />
|
---|
43 | <xs:element ref="u" />
|
---|
44 | <xs:element ref="i" />
|
---|
45 | </xs:choice>
|
---|
46 | </xs:group>
|
---|
47 |
|
---|
48 | <xs:group name="sup">
|
---|
49 | <xs:sequence>
|
---|
50 | <xs:choice>
|
---|
51 | <xs:element ref="sup"/>
|
---|
52 | </xs:choice>
|
---|
53 | </xs:sequence>
|
---|
54 | </xs:group>
|
---|
55 |
|
---|
56 | <xs:group name="sub">
|
---|
57 | <xs:sequence>
|
---|
58 | <xs:choice>
|
---|
59 | <xs:element ref="sub"/>
|
---|
60 | </xs:choice>
|
---|
61 | </xs:sequence>
|
---|
62 | </xs:group>
|
---|
63 |
|
---|
64 | <xs:group name="tt">
|
---|
65 | <xs:sequence>
|
---|
66 | <xs:choice>
|
---|
67 | <xs:element ref="tt"/>
|
---|
68 | </xs:choice>
|
---|
69 | </xs:sequence>
|
---|
70 | </xs:group>
|
---|
71 |
|
---|
72 | <xs:group name="b">
|
---|
73 | <xs:sequence>
|
---|
74 | <xs:choice>
|
---|
75 | <xs:element ref="b"/>
|
---|
76 | </xs:choice>
|
---|
77 | </xs:sequence>
|
---|
78 | </xs:group>
|
---|
79 |
|
---|
80 | <xs:group name="u">
|
---|
81 | <xs:sequence>
|
---|
82 | <xs:choice>
|
---|
83 | <xs:element ref="u"/>
|
---|
84 | </xs:choice>
|
---|
85 | </xs:sequence>
|
---|
86 | </xs:group>
|
---|
87 |
|
---|
88 | <xs:group name="i">
|
---|
89 | <xs:sequence>
|
---|
90 | <xs:choice>
|
---|
91 | <xs:element ref="i"/>
|
---|
92 | </xs:choice>
|
---|
93 | </xs:sequence>
|
---|
94 | </xs:group>
|
---|
95 |
|
---|
96 | <!-- Basic form: Single Effect Formatting Phrases -->
|
---|
97 | <xs:element name="sup">
|
---|
98 | <xs:annotation>
|
---|
99 | <xs:documentation>
|
---|
100 | The superscript (<<keyword>sup</keyword>>) element indicates that text should
|
---|
101 | be superscripted, or vertically raised in relationship to the surrounding
|
---|
102 | text. Superscripts are usually a smaller font than the surrounding text.
|
---|
103 | Use this element only when there is not some other more proper tag. For example,
|
---|
104 | for specific items such as GUI controls, use the
|
---|
105 | <xref href="uicontrol.xml">uicontrol</xref> tag. This element is part of the DITA highlighting
|
---|
106 | domain.
|
---|
107 | </xs:documentation>
|
---|
108 | </xs:annotation>
|
---|
109 | <xs:complexType>
|
---|
110 | <xs:complexContent>
|
---|
111 | <xs:extension base="sup.class">
|
---|
112 | <xs:attribute ref="class" default="+ topic/ph hi-d/sup "/>
|
---|
113 | </xs:extension>
|
---|
114 | </xs:complexContent>
|
---|
115 | </xs:complexType>
|
---|
116 | </xs:element>
|
---|
117 | <xs:complexType name="sup.class" mixed="true">
|
---|
118 | <xs:sequence>
|
---|
119 | <xs:group ref="sup.content"/>
|
---|
120 | </xs:sequence>
|
---|
121 | <xs:attributeGroup ref="sup.attributes"/>
|
---|
122 | </xs:complexType>
|
---|
123 |
|
---|
124 | <xs:group name="sup.content">
|
---|
125 | <xs:sequence>
|
---|
126 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
127 | <xs:group ref="basic.ph"/>
|
---|
128 | <xs:group ref="data.elements.incl"/>
|
---|
129 | <xs:group ref="foreign.unknown.incl"/>
|
---|
130 | </xs:choice>
|
---|
131 | </xs:sequence>
|
---|
132 | </xs:group>
|
---|
133 |
|
---|
134 | <xs:attributeGroup name="sup.attributes">
|
---|
135 | <xs:attributeGroup ref="global-atts"/>
|
---|
136 | <xs:attributeGroup ref="univ-atts"/>
|
---|
137 | <xs:attribute name="outputclass" type="xs:string"/>
|
---|
138 | </xs:attributeGroup>
|
---|
139 |
|
---|
140 | <xs:element name="sub">
|
---|
141 | <xs:annotation>
|
---|
142 | <xs:documentation>
|
---|
143 | A subscript (<<keyword>sub</keyword>>) indicates that text should be subscripted,
|
---|
144 | or placed lower in relationship to the surrounding text. Subscripted text
|
---|
145 | is often a smaller font than the surrounding text. Formatting may vary depending
|
---|
146 | on your output process. This element is part of the DITA highlighting domain.
|
---|
147 | </xs:documentation>
|
---|
148 | </xs:annotation>
|
---|
149 | <xs:complexType>
|
---|
150 | <xs:complexContent>
|
---|
151 | <xs:extension base="sub.class">
|
---|
152 | <xs:attribute ref="class" default="+ topic/ph hi-d/sub "/>
|
---|
153 | </xs:extension>
|
---|
154 | </xs:complexContent>
|
---|
155 | </xs:complexType>
|
---|
156 | </xs:element>
|
---|
157 | <xs:complexType name="sub.class" mixed="true">
|
---|
158 | <xs:sequence>
|
---|
159 | <xs:group ref="sub.content"/>
|
---|
160 | </xs:sequence>
|
---|
161 | <xs:attributeGroup ref="sub.attributes"/>
|
---|
162 | </xs:complexType>
|
---|
163 |
|
---|
164 | <xs:group name="sub.content">
|
---|
165 | <xs:sequence>
|
---|
166 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
167 | <xs:group ref="basic.ph"/>
|
---|
168 | <xs:group ref="data.elements.incl"/>
|
---|
169 | <xs:group ref="foreign.unknown.incl"/>
|
---|
170 | </xs:choice>
|
---|
171 | </xs:sequence>
|
---|
172 | </xs:group>
|
---|
173 |
|
---|
174 | <xs:attributeGroup name="sub.attributes">
|
---|
175 | <xs:attributeGroup ref="global-atts"/>
|
---|
176 | <xs:attributeGroup ref="univ-atts"/>
|
---|
177 | <xs:attribute name="outputclass" type="xs:string"/>
|
---|
178 | </xs:attributeGroup>
|
---|
179 |
|
---|
180 | <xs:element name="tt">
|
---|
181 | <xs:annotation>
|
---|
182 | <xs:documentation>
|
---|
183 | The teletype (<<keyword>tt</keyword>>) element is used to apply monospaced
|
---|
184 | highlighting to the content of the element. Use this element only when there
|
---|
185 | is not some other more proper tag. For example, for specific items such as
|
---|
186 | GUI controls, use the <xref href="uicontrol.xml">uicontrol</xref> tag.
|
---|
187 | This element is part of the DITA highlighting domain.
|
---|
188 | </xs:documentation>
|
---|
189 | </xs:annotation>
|
---|
190 | <xs:complexType>
|
---|
191 | <xs:complexContent>
|
---|
192 | <xs:extension base="tt.class">
|
---|
193 | <xs:attribute ref="class" default="+ topic/ph hi-d/tt "/>
|
---|
194 | </xs:extension>
|
---|
195 | </xs:complexContent>
|
---|
196 | </xs:complexType>
|
---|
197 | </xs:element>
|
---|
198 | <xs:complexType name="tt.class" mixed="true">
|
---|
199 | <xs:sequence>
|
---|
200 | <xs:group ref="tt.content"/>
|
---|
201 | </xs:sequence>
|
---|
202 | <xs:attributeGroup ref="tt.attributes"/>
|
---|
203 | </xs:complexType>
|
---|
204 |
|
---|
205 | <xs:group name="tt.content">
|
---|
206 | <xs:sequence>
|
---|
207 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
208 | <xs:group ref="basic.ph"/>
|
---|
209 | <xs:group ref="data.elements.incl"/>
|
---|
210 | <xs:group ref="foreign.unknown.incl"/>
|
---|
211 | </xs:choice>
|
---|
212 | </xs:sequence>
|
---|
213 | </xs:group>
|
---|
214 |
|
---|
215 | <xs:attributeGroup name="tt.attributes">
|
---|
216 | <xs:attributeGroup ref="global-atts"/>
|
---|
217 | <xs:attributeGroup ref="univ-atts"/>
|
---|
218 | <xs:attribute name="outputclass" type="xs:string"/>
|
---|
219 | </xs:attributeGroup>
|
---|
220 |
|
---|
221 | <xs:element name="b">
|
---|
222 | <xs:annotation>
|
---|
223 | <xs:documentation>
|
---|
224 | The bold (<<keyword>b</keyword>>) element is used to apply bold highlighting
|
---|
225 | to the content of the element. Use this element only when there is not some
|
---|
226 | other more proper tag. For example, for specific items such as GUI controls,
|
---|
227 | use the <xref href="uicontrol.xml">uicontrol</xref> tag.
|
---|
228 | This element is part of the DITA highlighting domain.
|
---|
229 | </xs:documentation>
|
---|
230 | </xs:annotation>
|
---|
231 | <xs:complexType>
|
---|
232 | <xs:complexContent>
|
---|
233 | <xs:extension base="b.class">
|
---|
234 | <xs:attribute ref="class" default="+ topic/ph hi-d/b "/>
|
---|
235 | </xs:extension>
|
---|
236 | </xs:complexContent>
|
---|
237 | </xs:complexType>
|
---|
238 | </xs:element>
|
---|
239 | <xs:complexType name="b.class" mixed="true">
|
---|
240 | <xs:sequence>
|
---|
241 | <xs:group ref="b.content"/>
|
---|
242 | </xs:sequence>
|
---|
243 | <xs:attributeGroup ref="b.attributes"/>
|
---|
244 | </xs:complexType>
|
---|
245 |
|
---|
246 | <xs:group name="b.content">
|
---|
247 | <xs:sequence>
|
---|
248 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
249 | <xs:group ref="basic.ph"/>
|
---|
250 | <xs:group ref="data.elements.incl"/>
|
---|
251 | <xs:group ref="foreign.unknown.incl"/>
|
---|
252 | </xs:choice>
|
---|
253 | </xs:sequence>
|
---|
254 | </xs:group>
|
---|
255 |
|
---|
256 | <xs:attributeGroup name="b.attributes">
|
---|
257 | <xs:attributeGroup ref="global-atts"/>
|
---|
258 | <xs:attributeGroup ref="univ-atts"/>
|
---|
259 | <xs:attribute name="outputclass" type="xs:string"/>
|
---|
260 | </xs:attributeGroup>
|
---|
261 |
|
---|
262 | <xs:element name="u">
|
---|
263 | <xs:annotation>
|
---|
264 | <xs:documentation>
|
---|
265 | The underline (<<keyword>u</keyword>>) element is used to apply
|
---|
266 | underline highlighting to the content of the element. Use this element only
|
---|
267 | when there is not some other more proper tag. For example, for specific items
|
---|
268 | such as GUI controls, use the <xref href="uicontrol.xml">uicontrol</xref> tag.
|
---|
269 | This element is part of the DITA highlighting domain.
|
---|
270 | </xs:documentation>
|
---|
271 | </xs:annotation>
|
---|
272 | <xs:complexType>
|
---|
273 | <xs:complexContent>
|
---|
274 | <xs:extension base="u.class">
|
---|
275 | <xs:attribute ref="class" default="+ topic/ph hi-d/u "/>
|
---|
276 | </xs:extension>
|
---|
277 | </xs:complexContent>
|
---|
278 | </xs:complexType>
|
---|
279 | </xs:element>
|
---|
280 | <xs:complexType name="u.class" mixed="true">
|
---|
281 | <xs:sequence>
|
---|
282 | <xs:group ref="u.content"/>
|
---|
283 | </xs:sequence>
|
---|
284 | <xs:attributeGroup ref="u.attributes"/>
|
---|
285 | </xs:complexType>
|
---|
286 |
|
---|
287 | <xs:group name="u.content">
|
---|
288 | <xs:sequence>
|
---|
289 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
290 | <xs:group ref="basic.ph"/>
|
---|
291 | <xs:group ref="data.elements.incl"/>
|
---|
292 | <xs:group ref="foreign.unknown.incl"/>
|
---|
293 | </xs:choice>
|
---|
294 | </xs:sequence>
|
---|
295 | </xs:group>
|
---|
296 |
|
---|
297 | <xs:attributeGroup name="u.attributes">
|
---|
298 | <xs:attributeGroup ref="global-atts"/>
|
---|
299 | <xs:attributeGroup ref="univ-atts"/>
|
---|
300 | <xs:attribute name="outputclass" type="xs:string"/>
|
---|
301 | </xs:attributeGroup>
|
---|
302 |
|
---|
303 | <xs:element name="i">
|
---|
304 | <xs:annotation>
|
---|
305 | <xs:documentation>
|
---|
306 | The italic (<i>) element is used to apply italic highlighting
|
---|
307 | to the content of the element. Use this element only when there
|
---|
308 | is not some other more proper tag. For example, for specific items such as
|
---|
309 | GUI controls, use the <xref href="uicontrol.xml">uicontrol</xref> tag.
|
---|
310 | Italic highlighting generally means a font that is slanted for emphasis, but
|
---|
311 | this may vary depending on your output formatting process. This element is
|
---|
312 | part of the DITA highlighting domain.
|
---|
313 | </xs:documentation>
|
---|
314 | </xs:annotation>
|
---|
315 | <xs:complexType>
|
---|
316 | <xs:complexContent>
|
---|
317 | <xs:extension base="i.class">
|
---|
318 | <xs:attribute ref="class" default="+ topic/ph hi-d/i "/>
|
---|
319 | </xs:extension>
|
---|
320 | </xs:complexContent>
|
---|
321 | </xs:complexType>
|
---|
322 | </xs:element>
|
---|
323 | <xs:complexType name="i.class" mixed="true">
|
---|
324 | <xs:sequence>
|
---|
325 | <xs:group ref="i.content"/>
|
---|
326 | </xs:sequence>
|
---|
327 | <xs:attributeGroup ref="i.attributes"/>
|
---|
328 | </xs:complexType>
|
---|
329 |
|
---|
330 | <xs:group name="i.content">
|
---|
331 | <xs:sequence>
|
---|
332 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
333 | <xs:group ref="basic.ph"/>
|
---|
334 | <xs:group ref="data.elements.incl"/>
|
---|
335 | <xs:group ref="foreign.unknown.incl"/>
|
---|
336 | </xs:choice>
|
---|
337 | </xs:sequence>
|
---|
338 | </xs:group>
|
---|
339 |
|
---|
340 | <xs:attributeGroup name="i.attributes">
|
---|
341 | <xs:attributeGroup ref="global-atts"/>
|
---|
342 | <xs:attributeGroup ref="univ-atts"/>
|
---|
343 | <xs:attribute name="outputclass" type="xs:string"/>
|
---|
344 | </xs:attributeGroup>
|
---|
345 |
|
---|
346 | </xs:schema>
|
---|