VirtualBox

source: vbox/trunk/src/libs/dita-ot-1.8.5/schema/technicalContent/xsd/uiDomain.xsd@ 99507

最後變更 在這個檔案從99507是 98584,由 vboxsync 提交於 2 年 前

Docs: bugref:10302. Setting svn properties of DITA-OT library.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 11.1 KB
 
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- ============================================================= -->
3<!-- HEADER -->
4<!-- ============================================================= -->
5<!-- MODULE: DITA User Interface 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 User Interface 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"
26 attributeFormDefault="unqualified">
27 <!-- Import namespace for xml:space attribute for element screen -->
28 <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="urn:oasis:names:tc:dita:xsd:xml.xsd:1.2"/>
29
30 <xs:annotation>
31 <xs:appinfo>
32 <dita:domainsModule xmlns:dita="http://dita.oasis-open.org/architecture/2005/">(topic ui-d)</dita:domainsModule>
33 </xs:appinfo>
34 <xs:documentation>
35
36 </xs:documentation>
37 </xs:annotation>
38
39 <xs:group name="ui-d-ph">
40 <xs:choice>
41 <xs:element ref="uicontrol"/>
42 <xs:element ref="menucascade"/>
43 </xs:choice>
44 </xs:group>
45
46 <xs:group name="ui-d-keyword">
47 <xs:choice>
48 <xs:element ref="wintitle"/>
49 </xs:choice>
50 </xs:group>
51
52 <xs:group name="ui-d-pre">
53 <xs:choice>
54 <xs:element ref="screen"/>
55 </xs:choice>
56 </xs:group>
57
58 <xs:group name="uicontrol">
59 <xs:sequence>
60 <xs:choice>
61 <xs:element ref="uicontrol"/>
62 </xs:choice>
63 </xs:sequence>
64 </xs:group>
65
66 <xs:group name="shortcut">
67 <xs:sequence>
68 <xs:choice>
69 <xs:element ref="shortcut"/>
70 </xs:choice>
71 </xs:sequence>
72 </xs:group>
73
74 <xs:group name="wintitle">
75 <xs:sequence>
76 <xs:choice>
77 <xs:element ref="wintitle"/>
78 </xs:choice>
79 </xs:sequence>
80 </xs:group>
81
82 <xs:group name="menucascade">
83 <xs:sequence>
84 <xs:choice>
85 <xs:element ref="menucascade"/>
86 </xs:choice>
87 </xs:sequence>
88 </xs:group>
89
90 <xs:group name="screen">
91 <xs:sequence>
92 <xs:choice>
93 <xs:element ref="screen"/>
94 </xs:choice>
95 </xs:sequence>
96 </xs:group>
97
98 <xs:element name="uicontrol">
99 <xs:annotation>
100 <xs:documentation>
101 The user interface control (&lt;<keyword>uicontrol</keyword>&gt;) element represents
102 a button, entry field, menu item, or other object that allows the user to
103 control the interface. This could also include a menu or dialog. For example,
104 use the &lt;<keyword>uicontrol</keyword>&gt; element inside a &lt;<keyword>menucascade</keyword>&gt; element
105 when the menu item is nested, such as <menucascade>
106 <uicontrol>File</uicontrol>
107 <uicontrol>New</uicontrol>
108 </menucascade>. This element is part
109 of the DITA user interface domain, a special set of DITA elements designed
110 to document user interface tasks, concepts and reference information.
111 </xs:documentation>
112 </xs:annotation>
113 <xs:complexType>
114 <xs:complexContent>
115 <xs:extension base="uicontrol.class">
116 <xs:attribute ref="class" default="+ topic/ph ui-d/uicontrol "/>
117 </xs:extension>
118 </xs:complexContent>
119 </xs:complexType>
120 </xs:element>
121 <xs:complexType name="uicontrol.class" mixed="true">
122 <xs:sequence>
123 <xs:group ref="uicontrol.content"/>
124 </xs:sequence>
125 <xs:attributeGroup ref="uicontrol.attributes"/>
126 </xs:complexType>
127
128 <xs:group name="uicontrol.content">
129 <xs:sequence>
130 <xs:choice minOccurs="0" maxOccurs="unbounded">
131 <xs:group ref="image" minOccurs="0"/>
132 <xs:group ref="shortcut" minOccurs="0"/>
133 <xs:group ref="words.cnt" minOccurs="0"/>
134 </xs:choice>
135 </xs:sequence>
136 </xs:group>
137
138 <xs:attributeGroup name="uicontrol.attributes">
139 <xs:attribute name="keyref" type="xs:string"/>
140 <xs:attribute name="outputclass" type="xs:string"/>
141 <xs:attributeGroup ref="global-atts"/>
142 <xs:attributeGroup ref="univ-atts"/>
143 </xs:attributeGroup>
144
145 <xs:element name="shortcut">
146 <xs:annotation>
147 <xs:documentation>
148 The &lt;<keyword>shortcut</keyword>&gt; element identifies
149 a keyboard shortcut for a menu or window action. This element is part of the
150 DITA user interface domain, a special set of DITA elements designed to document
151 user interface tasks, concepts and reference information.
152 </xs:documentation>
153 </xs:annotation>
154 <xs:complexType>
155 <xs:complexContent>
156 <xs:extension base="shortcut.class">
157 <xs:attribute ref="class" default="+ topic/keyword ui-d/shortcut "/>
158 </xs:extension>
159 </xs:complexContent>
160 </xs:complexType>
161 </xs:element>
162 <xs:complexType name="shortcut.class" mixed="true">
163 <xs:sequence>
164 <xs:group ref="shortcut.content"/>
165 </xs:sequence>
166 <xs:attributeGroup ref="shortcut.attributes"/>
167 </xs:complexType>
168
169 <xs:group name="shortcut.content">
170 <xs:sequence>
171 <xs:choice minOccurs="0" maxOccurs="unbounded">
172 <xs:group ref="text" minOccurs="0"/>
173 </xs:choice>
174 </xs:sequence>
175 </xs:group>
176
177 <xs:attributeGroup name="shortcut.attributes">
178 <xs:attribute name="keyref" type="xs:string"/>
179 <xs:attribute name="outputclass" type="xs:string"/>
180 <xs:attributeGroup ref="global-atts"/>
181 <xs:attributeGroup ref="univ-atts"/>
182 </xs:attributeGroup>
183
184
185 <xs:element name="wintitle">
186 <xs:annotation>
187 <xs:documentation>
188 The window title &lt;<keyword>wintitle</keyword>&gt; element represents the title
189 text that appears at the top of a window or dialog, and applies to wizard
190 titles, wizard page titles, and pane titles. This element is part of the DITA
191 user interface domain, a special set of DITA elements designed to document
192 user interface tasks, concepts and reference information.
193 </xs:documentation>
194 </xs:annotation>
195 <xs:complexType>
196 <xs:complexContent>
197 <xs:extension base="wintitle.class">
198 <xs:attribute ref="class" default="+ topic/keyword ui-d/wintitle "/>
199 </xs:extension>
200 </xs:complexContent>
201 </xs:complexType>
202 </xs:element>
203 <xs:complexType name="wintitle.class" mixed="true">
204 <xs:sequence>
205 <xs:group ref="wintitle.content"/>
206 </xs:sequence>
207 <xs:attributeGroup ref="wintitle.attributes"/>
208 </xs:complexType>
209
210 <xs:group name="wintitle.content">
211 <xs:sequence>
212 <xs:choice minOccurs="0" maxOccurs="unbounded">
213 <xs:group ref="text" minOccurs="0"/>
214 </xs:choice>
215 </xs:sequence>
216 </xs:group>
217
218 <xs:attributeGroup name="wintitle.attributes">
219 <xs:attribute name="keyref" type="xs:string"/>
220 <xs:attribute name="outputclass" type="xs:string"/>
221 <xs:attributeGroup ref="global-atts"/>
222 <xs:attributeGroup ref="univ-atts"/>
223 </xs:attributeGroup>
224
225 <xs:element name="menucascade">
226 <xs:annotation>
227 <xs:documentation>
228 The &lt;<keyword>menucascade</keyword>&gt; element is used to document
229 a series of menu choices, or to show any choice on a menu from which the user
230 needs to choose. The &lt;<keyword>menucascade</keyword>&gt; element contains
231 one or more user interface control (&lt;<keyword>uicontrol</keyword>&gt;) elements,
232 for example: <codeph>Start &gt; Programs &gt; Accessories &gt; Notepad</codeph>. If
233 there is more than one &lt;<keyword>uicontrol</keyword>&gt; element, the formatter
234 may show connecting characters between the menu items to represent the menu
235 cascade. This element is part of the DITA user interface domain, a special
236 set of DITA elements designed to document user interface tasks, concepts and
237 reference information.
238 </xs:documentation>
239 </xs:annotation>
240 <xs:complexType>
241 <xs:complexContent>
242 <xs:extension base="menucascade.class">
243 <xs:attribute ref="class" default="+ topic/ph ui-d/menucascade "/>
244 </xs:extension>
245 </xs:complexContent>
246 </xs:complexType>
247 </xs:element>
248 <xs:complexType name="menucascade.class">
249 <xs:sequence>
250 <xs:group ref="menucascade.content"/>
251 </xs:sequence>
252 <xs:attributeGroup ref="menucascade.attributes"/>
253 </xs:complexType>
254
255 <xs:group name="menucascade.content">
256 <xs:sequence>
257 <xs:choice maxOccurs="unbounded">
258 <xs:group ref="uicontrol"/>
259 </xs:choice>
260 </xs:sequence>
261 </xs:group>
262
263 <xs:attributeGroup name="menucascade.attributes">
264 <xs:attribute name="keyref" type="xs:string"/>
265 <xs:attribute name="outputclass" type="xs:string"/>
266 <xs:attributeGroup ref="global-atts"/>
267 <xs:attributeGroup ref="univ-atts"/>
268 </xs:attributeGroup>
269
270
271 <xs:element name="screen">
272 <xs:annotation>
273 <xs:documentation>
274 The &lt;<keyword>screen</keyword>&gt; element contains or refers to a textual representation
275 of a computer screen or user interface panel (window).
276 </xs:documentation>
277 </xs:annotation>
278 <xs:complexType>
279 <xs:complexContent>
280 <xs:extension base="screen.class">
281 <xs:attribute ref="class" default="+ topic/pre ui-d/screen "/>
282 </xs:extension>
283 </xs:complexContent>
284 </xs:complexType>
285 </xs:element>
286 <xs:complexType name="screen.class" mixed="true">
287 <xs:sequence>
288 <xs:group ref="screen.content"/>
289 </xs:sequence>
290 <xs:attributeGroup ref="screen.attributes"/>
291 </xs:complexType>
292
293 <xs:group name="screen.content">
294 <xs:sequence>
295 <xs:choice minOccurs="0" maxOccurs="unbounded">
296 <xs:group ref="basic.ph.notm" minOccurs="0"/>
297 <xs:group ref="txt.incl" minOccurs="0"/>
298 <xs:choice minOccurs="0" maxOccurs="unbounded">
299 <xs:group ref="data.elements.incl" minOccurs="0"/>
300 <xs:group ref="foreign.unknown.incl" minOccurs="0"/>
301 </xs:choice>
302 </xs:choice>
303 </xs:sequence>
304 </xs:group>
305
306 <xs:attributeGroup name="screen.attributes">
307 <xs:attribute name="spectitle" type="xs:string"/>
308 <xs:attribute name="outputclass" type="xs:string"/>
309 <xs:attributeGroup ref="global-atts"/>
310 <xs:attributeGroup ref="univ-atts"/>
311 <xs:attributeGroup ref="display-atts"/>
312 <xs:attribute ref="xml:space" fixed="preserve"/>
313 </xs:attributeGroup>
314</xs:schema>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette