1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!-- ============================================================= -->
|
---|
3 | <!-- HEADER -->
|
---|
4 | <!-- ============================================================= -->
|
---|
5 | <!-- MODULE: DITA User Interface Domain -->
|
---|
6 | <!-- VERSION: 1.1 -->
|
---|
7 | <!-- DATE: November 2006 -->
|
---|
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, 2006 -->
|
---|
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 | <!-- Import namespace for xml:space attribute for element screen -->
|
---|
27 | <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="urn:oasis:names:tc:dita:xsd:xml.xsd:1.1"/>
|
---|
28 |
|
---|
29 | <xs:group name="ui-d-ph">
|
---|
30 | <xs:choice>
|
---|
31 | <xs:element ref="uicontrol" />
|
---|
32 | <xs:element ref="menucascade" />
|
---|
33 | </xs:choice>
|
---|
34 | </xs:group>
|
---|
35 |
|
---|
36 | <xs:group name="ui-d-keyword">
|
---|
37 | <xs:choice>
|
---|
38 | <xs:element ref="wintitle" />
|
---|
39 | </xs:choice>
|
---|
40 | </xs:group>
|
---|
41 |
|
---|
42 | <xs:group name="ui-d-pre">
|
---|
43 | <xs:choice>
|
---|
44 | <xs:element ref="screen" />
|
---|
45 | </xs:choice>
|
---|
46 | </xs:group>
|
---|
47 |
|
---|
48 | <xs:group name="screen">
|
---|
49 | <xs:choice>
|
---|
50 | <xs:element ref="screen" />
|
---|
51 | </xs:choice>
|
---|
52 | </xs:group>
|
---|
53 |
|
---|
54 | <xs:group name="uicontrol">
|
---|
55 | <xs:choice>
|
---|
56 | <xs:element ref="uicontrol" />
|
---|
57 | </xs:choice>
|
---|
58 | </xs:group>
|
---|
59 |
|
---|
60 | <xs:group name="menucascade">
|
---|
61 | <xs:choice>
|
---|
62 | <xs:element ref="menucascade" />
|
---|
63 | </xs:choice>
|
---|
64 | </xs:group>
|
---|
65 |
|
---|
66 | <xs:group name="wintitle">
|
---|
67 | <xs:choice>
|
---|
68 | <xs:element ref="wintitle" />
|
---|
69 | </xs:choice>
|
---|
70 | </xs:group>
|
---|
71 |
|
---|
72 | <xs:element name="uicontrol">
|
---|
73 | <xs:annotation>
|
---|
74 | <xs:documentation>
|
---|
75 | The user interface control (<<keyword>uicontrol</keyword>>) element represents
|
---|
76 | a button, entry field, menu item, or other object that allows the user to
|
---|
77 | control the interface. This could also include a menu or dialog. For example,
|
---|
78 | use the <<keyword>uicontrol</keyword>> element inside a <<keyword>menucascade</keyword>> element
|
---|
79 | when the menu item is nested, such as <menucascade>
|
---|
80 | <uicontrol>File</uicontrol>
|
---|
81 | <uicontrol>New</uicontrol>
|
---|
82 | </menucascade>. This element is part
|
---|
83 | of the DITA user interface domain, a special set of DITA elements designed
|
---|
84 | to document user interface tasks, concepts and reference information.
|
---|
85 | </xs:documentation>
|
---|
86 | </xs:annotation>
|
---|
87 | <xs:complexType mixed="true">
|
---|
88 | <xs:complexContent>
|
---|
89 | <xs:extension base="uicontrol.class">
|
---|
90 | <xs:attribute ref="class" default="+ topic/ph ui-d/uicontrol "/>
|
---|
91 | </xs:extension>
|
---|
92 | </xs:complexContent>
|
---|
93 | </xs:complexType>
|
---|
94 | </xs:element>
|
---|
95 | <xs:complexType name="uicontrol.class" mixed="true">
|
---|
96 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
97 | <xs:element ref="image"/>
|
---|
98 | <xs:element ref="shortcut"/>
|
---|
99 | <xs:group ref="words.cnt"/>
|
---|
100 | </xs:choice>
|
---|
101 | <xs:attribute name="keyref" type="xs:string"/>
|
---|
102 | <xs:attribute name="outputclass" type="xs:string"/>
|
---|
103 | <xs:attributeGroup ref="global-atts"/>
|
---|
104 | <xs:attributeGroup ref="univ-atts"/>
|
---|
105 | </xs:complexType>
|
---|
106 |
|
---|
107 | <xs:element name="shortcut">
|
---|
108 | <xs:annotation>
|
---|
109 | <xs:documentation>
|
---|
110 | The <<keyword>shortcut</keyword>> element identifies
|
---|
111 | a keyboard shortcut for a menu or window action. This element is part of the
|
---|
112 | DITA user interface domain, a special set of DITA elements designed to document
|
---|
113 | user interface tasks, concepts and reference information.
|
---|
114 | </xs:documentation>
|
---|
115 | </xs:annotation>
|
---|
116 | <xs:complexType mixed="true">
|
---|
117 | <xs:complexContent>
|
---|
118 | <xs:extension base="shortcut.class">
|
---|
119 | <xs:attribute ref="class" default="+ topic/keyword ui-d/shortcut "/>
|
---|
120 | </xs:extension>
|
---|
121 | </xs:complexContent>
|
---|
122 | </xs:complexType>
|
---|
123 | </xs:element>
|
---|
124 | <xs:complexType name="shortcut.class" mixed="true">
|
---|
125 | <xs:attribute name="keyref" type="xs:string"/>
|
---|
126 | <xs:attribute name="outputclass" type="xs:string"/>
|
---|
127 | <xs:attributeGroup ref="global-atts"/>
|
---|
128 | <xs:attributeGroup ref="univ-atts"/>
|
---|
129 | </xs:complexType>
|
---|
130 |
|
---|
131 | <xs:element name="wintitle">
|
---|
132 | <xs:annotation>
|
---|
133 | <xs:documentation>
|
---|
134 | The window title <<keyword>wintitle</keyword>> element represents the title
|
---|
135 | text that appears at the top of a window or dialog, and applies to wizard
|
---|
136 | titles, wizard page titles, and pane titles. This element is part of the DITA
|
---|
137 | user interface domain, a special set of DITA elements designed to document
|
---|
138 | user interface tasks, concepts and reference information.
|
---|
139 | </xs:documentation>
|
---|
140 | </xs:annotation>
|
---|
141 | <xs:complexType mixed="true">
|
---|
142 | <xs:complexContent>
|
---|
143 | <xs:extension base="wintitle.class">
|
---|
144 | <xs:attribute ref="class" default="+ topic/keyword ui-d/wintitle "/>
|
---|
145 | </xs:extension>
|
---|
146 | </xs:complexContent>
|
---|
147 | </xs:complexType>
|
---|
148 | </xs:element>
|
---|
149 | <xs:complexType name="wintitle.class" mixed="true">
|
---|
150 | <xs:attribute name="keyref" type="xs:string"/>
|
---|
151 | <xs:attribute name="outputclass" type="xs:string"/>
|
---|
152 | <xs:attributeGroup ref="global-atts"/>
|
---|
153 | <xs:attributeGroup ref="univ-atts"/>
|
---|
154 | </xs:complexType>
|
---|
155 |
|
---|
156 | <xs:element name="menucascade">
|
---|
157 | <xs:annotation>
|
---|
158 | <xs:documentation>
|
---|
159 | The <<keyword>menucascade</keyword>> element is used to document
|
---|
160 | a series of menu choices, or to show any choice on a menu from which the user
|
---|
161 | needs to choose. The <<keyword>menucascade</keyword>> element contains
|
---|
162 | one or more user interface control (<<keyword>uicontrol</keyword>>) elements,
|
---|
163 | for example: <codeph>Start > Programs > Accessories > Notepad</codeph>. If
|
---|
164 | there is more than one <<keyword>uicontrol</keyword>> element, the formatter
|
---|
165 | may show connecting characters between the menu items to represent the menu
|
---|
166 | cascade. This element is part of the DITA user interface domain, a special
|
---|
167 | set of DITA elements designed to document user interface tasks, concepts and
|
---|
168 | reference information.
|
---|
169 | </xs:documentation>
|
---|
170 | </xs:annotation>
|
---|
171 | <xs:complexType>
|
---|
172 | <xs:complexContent>
|
---|
173 | <xs:extension base="menucascade.class">
|
---|
174 | <xs:attribute ref="class" default="+ topic/ph ui-d/menucascade "/>
|
---|
175 | </xs:extension>
|
---|
176 | </xs:complexContent>
|
---|
177 | </xs:complexType>
|
---|
178 | </xs:element>
|
---|
179 | <xs:complexType name="menucascade.class">
|
---|
180 | <xs:choice maxOccurs="unbounded">
|
---|
181 | <xs:element ref="uicontrol" />
|
---|
182 | </xs:choice>
|
---|
183 | <xs:attribute name="keyref" type="xs:string"/>
|
---|
184 | <xs:attribute name="outputclass" type="xs:string"/>
|
---|
185 | <xs:attributeGroup ref="global-atts"/>
|
---|
186 | <xs:attributeGroup ref="univ-atts"/>
|
---|
187 | </xs:complexType>
|
---|
188 |
|
---|
189 |
|
---|
190 | <xs:element name="screen">
|
---|
191 | <xs:annotation>
|
---|
192 | <xs:documentation>
|
---|
193 | The <<keyword>screen</keyword>> element contains or refers to a textual representation
|
---|
194 | of a computer screen or user interface panel (window).
|
---|
195 | </xs:documentation>
|
---|
196 | </xs:annotation>
|
---|
197 | <xs:complexType mixed="true">
|
---|
198 | <xs:complexContent>
|
---|
199 | <xs:extension base="screen.class">
|
---|
200 | <xs:attribute ref="class" default="+ topic/pre ui-d/screen "/>
|
---|
201 | </xs:extension>
|
---|
202 | </xs:complexContent>
|
---|
203 | </xs:complexType>
|
---|
204 | </xs:element>
|
---|
205 | <xs:complexType name="screen.class" mixed="true">
|
---|
206 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
207 | <xs:group ref="basic.ph.notm"/>
|
---|
208 | <xs:group ref="txt.incl"/>
|
---|
209 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
210 | <xs:group ref="data.element.incl"/>
|
---|
211 | <xs:group ref="foreign.unknown.incl"/>
|
---|
212 | </xs:choice>
|
---|
213 | </xs:choice>
|
---|
214 | <xs:attribute name="spectitle" type="xs:string"/>
|
---|
215 | <xs:attribute name="outputclass" type="xs:string"/>
|
---|
216 | <xs:attributeGroup ref="global-atts"/>
|
---|
217 | <xs:attributeGroup ref="univ-atts"/>
|
---|
218 | <xs:attributeGroup ref="display-atts"/>
|
---|
219 | <xs:attribute ref="xml:space" fixed="preserve"/>
|
---|
220 | </xs:complexType>
|
---|
221 | </xs:schema>
|
---|