VirtualBox

source: vbox/trunk/src/libs/dita-ot-1.8.5/schema/base/xsd/hazardstatementDomain.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
檔案大小: 10.0 KB
 
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- ============================================================= -->
3<!-- HEADER -->
4<!-- ============================================================= -->
5<!-- ============================================================= -->
6<!-- MODULE: DITA Hazard Statement Domain -->
7<!-- VERSION: 1.2 -->
8<!-- DATE: November 2009 -->
9<!-- -->
10<!-- ============================================================= -->
11
12<!-- ============================================================= -->
13<!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
14<!-- -->
15<!-- PURPOSE: W3C XML Schema to describe Hazard domains -->
16<!-- -->
17<!-- ORIGINAL CREATION DATE: -->
18<!-- September 2009 -->
19<!-- -->
20<!-- (C) Copyright OASIS-Open.org 2009 -->
21<!-- All Rights Reserved. -->
22<!-- ============================================================= -->
23<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
24
25 <xs:annotation>
26 <xs:appinfo>
27 <dita:domainsModule xmlns:dita="http://dita.oasis-open.org/architecture/2005/">(topic hazard-d)</dita:domainsModule>
28 </xs:appinfo>
29 <xs:documentation>
30
31 </xs:documentation>
32 </xs:annotation>
33
34 <xs:group name="hazard-d-note">
35 <xs:choice>
36 <xs:element ref="hazardstatement"/>
37 </xs:choice>
38 </xs:group>
39
40 <xs:group name="hazardstatement">
41 <xs:sequence>
42 <xs:choice>
43 <xs:element ref="hazardstatement"/>
44 </xs:choice>
45 </xs:sequence>
46 </xs:group>
47
48 <xs:group name="messagepanel">
49 <xs:sequence>
50 <xs:choice>
51 <xs:element ref="messagepanel"/>
52 </xs:choice>
53 </xs:sequence>
54 </xs:group>
55
56 <xs:group name="hazardsymbol">
57 <xs:sequence>
58 <xs:choice>
59 <xs:element ref="hazardsymbol"/>
60 </xs:choice>
61 </xs:sequence>
62 </xs:group>
63
64 <xs:group name="typeofhazard">
65 <xs:sequence>
66 <xs:choice>
67 <xs:element ref="typeofhazard"/>
68 </xs:choice>
69 </xs:sequence>
70 </xs:group>
71
72 <xs:group name="consequence">
73 <xs:sequence>
74 <xs:choice>
75 <xs:element ref="consequence"/>
76 </xs:choice>
77 </xs:sequence>
78 </xs:group>
79
80 <xs:group name="howtoavoid">
81 <xs:sequence>
82 <xs:choice>
83 <xs:element ref="howtoavoid"/>
84 </xs:choice>
85 </xs:sequence>
86 </xs:group>
87
88
89<!--
90 Any content model that includes the hazard.cnt group must also set mixed="true"
91 >-->
92 <xs:group name="hazard.cnt">
93 <xs:sequence>
94 <xs:choice>
95 <xs:group ref="basic.ph"/>
96 <xs:group ref="sl"/>
97 <xs:group ref="simpletable"/>
98 </xs:choice>
99 </xs:sequence>
100 </xs:group>
101
102 <xs:element name="hazardstatement">
103 <xs:complexType>
104 <xs:complexContent>
105 <xs:extension base="hazardstatement.class">
106 <xs:attribute ref="class" default="+ topic/note hazard-d/hazardstatement "/>
107 </xs:extension>
108 </xs:complexContent>
109 </xs:complexType>
110 </xs:element>
111 <xs:complexType name="hazardstatement.class">
112 <xs:sequence>
113 <xs:group ref="hazardstatement.content"/>
114 </xs:sequence>
115 <xs:attributeGroup ref="hazardstatement.attributes"/>
116 </xs:complexType>
117
118 <xs:group name="hazardstatement.content">
119 <xs:sequence>
120 <xs:sequence>
121 <xs:group ref="messagepanel" maxOccurs="unbounded"/>
122 <xs:group ref="hazardsymbol" minOccurs="0" maxOccurs="unbounded"/>
123 </xs:sequence>
124 </xs:sequence>
125 </xs:group>
126
127 <xs:attributeGroup name="hazardstatement.attributes">
128 <xs:attribute name="type" type="type-note-atts.class"/>
129 <xs:attribute name="spectitle" type="xs:string"/>
130 <xs:attribute name="othertype" type="xs:string"/>
131 <xs:attribute name="outputclass" type="xs:string"/>
132 <xs:attributeGroup ref="univ-atts"/>
133 <xs:attributeGroup ref="global-atts"/>
134 </xs:attributeGroup>
135
136
137 <xs:element name="messagepanel" >
138 <xs:complexType>
139 <xs:complexContent>
140 <xs:extension base="messagepanel.class">
141 <xs:attribute ref="class" default="+ topic/ul hazard-d/messagepanel "/>
142 </xs:extension>
143 </xs:complexContent>
144 </xs:complexType>
145 </xs:element>
146
147 <xs:complexType name="messagepanel.class">
148 <xs:sequence>
149 <xs:group ref="messagepanel.content"/>
150 </xs:sequence>
151 <xs:attributeGroup ref="messagepanel.attributes"/>
152 </xs:complexType>
153
154 <xs:group name="messagepanel.content">
155 <xs:sequence>
156 <xs:sequence>
157 <xs:group ref="typeofhazard" />
158 <xs:group ref="consequence" maxOccurs="unbounded" minOccurs="0"/>
159 <xs:group ref="howtoavoid" maxOccurs="unbounded"/>
160 </xs:sequence>
161 </xs:sequence>
162 </xs:group>
163
164 <xs:attributeGroup name="messagepanel.attributes">
165 <xs:attribute name="spectitle" type="xs:string"/>
166 <xs:attribute name="outputclass" type="xs:string"/>
167 <xs:attributeGroup ref="univ-atts"/>
168 <xs:attributeGroup ref="global-atts"/>
169 </xs:attributeGroup>
170
171 <xs:element name="hazardsymbol" >
172 <xs:complexType>
173 <xs:complexContent>
174 <xs:extension base="hazardsymbol.class">
175 <xs:attribute ref="class" default="+ topic/image hazard-d/hazardsymbol "/>
176 </xs:extension>
177 </xs:complexContent>
178 </xs:complexType>
179 </xs:element>
180
181 <xs:complexType name="hazardsymbol.class">
182 <xs:sequence>
183 <xs:group ref="hazardsymbol.content"/>
184 </xs:sequence>
185 <xs:attributeGroup ref="hazardsymbol.attributes"/>
186 </xs:complexType>
187
188 <xs:group name="hazardsymbol.content">
189 <xs:sequence>
190 <xs:sequence>
191 <xs:group ref="alt" minOccurs="0"/>
192 <xs:group ref="longdescref" minOccurs="0"/>
193 </xs:sequence>
194 </xs:sequence>
195 </xs:group>
196
197 <xs:attributeGroup name="hazardsymbol.attributes">
198 <xs:attribute name="href" type="xs:string" use="required"/>
199 <xs:attribute name="keyref" type="xs:string"/>
200 <!-- <xs:attribute name="alt" type="xs:string"/> -->
201 <xs:attribute name="longdescref" type="xs:string"/>
202 <xs:attribute name="height" type="xs:NMTOKEN"/>
203 <xs:attribute name="width" type="xs:NMTOKEN"/>
204 <xs:attribute name="scale" type="xs:NMTOKEN"/>
205 <xs:attribute name="scalefit" type="yesno-att.class"/>
206 <xs:attribute name="scope" type="scope-att.class"/>
207 <xs:attribute name="align" type="xs:string"/>
208 <xs:attribute name="placement" type="image-placement-att.class" default="inline"/>
209 <xs:attribute name="outputclass" type="xs:string"/>
210 <xs:attributeGroup ref="univ-atts"/>
211 <xs:attributeGroup ref="global-atts"/>
212 </xs:attributeGroup>
213
214 <xs:element name="typeofhazard" >
215 <xs:complexType>
216 <xs:complexContent>
217 <xs:extension base="typeofhazard.class">
218 <xs:attribute ref="class" default="+ topic/li hazard-d/typeofhazard "/>
219 </xs:extension>
220 </xs:complexContent>
221 </xs:complexType>
222 </xs:element>
223
224 <xs:complexType name="typeofhazard.class" mixed="true">
225 <xs:sequence>
226 <xs:group ref="typeofhazard.content"/>
227 </xs:sequence>
228 <xs:attributeGroup ref="typeofhazard.attributes"/>
229 </xs:complexType>
230
231 <xs:group name="typeofhazard.content">
232 <xs:sequence>
233 <xs:choice minOccurs="0" maxOccurs="unbounded">
234 <xs:group ref="words.cnt" minOccurs="0"/>
235 <xs:group ref="ph" minOccurs="0"/>
236 <xs:group ref="tm" minOccurs="0"/>
237 </xs:choice>
238 </xs:sequence>
239 </xs:group>
240
241 <xs:attributeGroup name="typeofhazard.attributes">
242 <xs:attribute name="outputclass" type="xs:string"/>
243 <xs:attributeGroup ref="univ-atts"/>
244 <xs:attributeGroup ref="global-atts"/>
245 </xs:attributeGroup>
246
247 <xs:element name="consequence" >
248 <xs:complexType>
249 <xs:complexContent>
250 <xs:extension base="consequence.class">
251 <xs:attribute ref="class" default="+ topic/li hazard-d/consequence "/>
252 </xs:extension>
253 </xs:complexContent>
254 </xs:complexType>
255 </xs:element>
256
257 <xs:complexType name="consequence.class" mixed="true">
258 <xs:sequence>
259 <xs:group ref="consequence.content"/>
260 </xs:sequence>
261 <xs:attributeGroup ref="consequence.attributes"/>
262 </xs:complexType>
263
264 <xs:group name="consequence.content">
265 <xs:sequence>
266 <xs:choice minOccurs="0" maxOccurs="unbounded">
267 <xs:group ref="words.cnt" minOccurs="0"/>
268 <xs:group ref="ph" minOccurs="0"/>
269 <xs:group ref="tm" minOccurs="0"/>
270 </xs:choice>
271 </xs:sequence>
272 </xs:group>
273
274 <xs:attributeGroup name="consequence.attributes">
275 <xs:attribute name="outputclass" type="xs:string"/>
276 <xs:attributeGroup ref="univ-atts"/>
277 <xs:attributeGroup ref="global-atts"/>
278 </xs:attributeGroup>
279
280 <xs:element name="howtoavoid" >
281 <xs:complexType>
282 <xs:complexContent>
283 <xs:extension base="howtoavoid.class">
284 <xs:attribute ref="class" default="+ topic/li hazard-d/howtoavoid "/>
285 </xs:extension>
286 </xs:complexContent>
287 </xs:complexType>
288 </xs:element>
289
290 <xs:complexType name="howtoavoid.class" mixed="true">
291 <xs:sequence>
292 <xs:group ref="howtoavoid.content"/>
293 </xs:sequence>
294 <xs:attributeGroup ref="howtoavoid.content"/>
295 </xs:complexType>
296
297 <xs:group name="howtoavoid.content">
298 <xs:sequence>
299 <xs:choice minOccurs="0" maxOccurs="unbounded">
300 <xs:group ref="hazard.cnt" minOccurs="0"/>
301 </xs:choice>
302 </xs:sequence>
303 </xs:group>
304
305 <xs:attributeGroup name="howtoavoid.content">
306 <xs:attribute name="outputclass" type="xs:string"/>
307 <xs:attributeGroup ref="univ-atts"/>
308 <xs:attributeGroup ref="global-atts"/>
309 </xs:attributeGroup>
310
311</xs:schema>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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