1 | <?xml version="1.0" encoding="utf-8" ?>
|
---|
2 | <schema
|
---|
3 | xmlns="http://www.w3.org/2001/XMLSchema"
|
---|
4 | xmlns:maml="http://ddue.schemas.microsoft.com/authoring/2003/5"
|
---|
5 | xmlns:doc="http://ddue.schemas.microsoft.com/authoring/internal"
|
---|
6 | targetNamespace="http://ddue.schemas.microsoft.com/authoring/2003/5"
|
---|
7 | blockDefault="#all"
|
---|
8 | elementFormDefault="qualified"
|
---|
9 | attributeFormDefault="unqualified"
|
---|
10 | xml:lang="en"
|
---|
11 | >
|
---|
12 |
|
---|
13 | <!-- Schema documentation -->
|
---|
14 | <annotation>
|
---|
15 | <documentation>
|
---|
16 | This schema describes MAML, the Microsoft Assistance Markup Language.
|
---|
17 | MAML is intended for software documentation. In particular, it is
|
---|
18 | intended to accomodate the needs of Microsoft documentation.
|
---|
19 | </documentation>
|
---|
20 | <documentation>
|
---|
21 | The schema is broken into three main areas: end user, developer and
|
---|
22 | IT Pro. These areas adequaltely categorize Microsoft
|
---|
23 | documentation.
|
---|
24 | </documentation>
|
---|
25 | <documentation>
|
---|
26 | The namespace uri for this version of Maml is: http://ddue.schemas.microsoft.com/authoring/2003/5.
|
---|
27 | Each backwards-incompatible revision to Maml will require that the date fields be appropriately
|
---|
28 | incremented in uri of the updated version of the Maml schema.
|
---|
29 | </documentation>
|
---|
30 | </annotation>
|
---|
31 |
|
---|
32 | <annotation>
|
---|
33 | <documentation>
|
---|
34 | This portion of the schema was created by alexstoc in April 2003.
|
---|
35 | </documentation>
|
---|
36 | </annotation>
|
---|
37 | <import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="space.xsd"/>
|
---|
38 | <include schemaLocation="baseConditional.xsd"/>
|
---|
39 | <include schemaLocation="inline.xsd"/>
|
---|
40 | <include schemaLocation="block.xsd"/>
|
---|
41 | <include schemaLocation="structure.xsd"/>
|
---|
42 |
|
---|
43 | <!-- ***************************************************************** -->
|
---|
44 | <complexType name="singleParagraphSimpleContentType">
|
---|
45 | <sequence>
|
---|
46 | <element ref="maml:para" minOccurs="0"/>
|
---|
47 | </sequence>
|
---|
48 | </complexType>
|
---|
49 |
|
---|
50 | <element name="summary" type="maml:singleParagraphSimpleContentType">
|
---|
51 | <annotation>
|
---|
52 | <documentation>
|
---|
53 | This element contains a summary, introduction, or short description of the current item.
|
---|
54 | This text typically appears in a topic and may also be used as the description of the topic
|
---|
55 | that appears in a jump table when the topic is being linked to.
|
---|
56 | </documentation>
|
---|
57 | <appinfo>
|
---|
58 | <doc:localizable>n/a</doc:localizable>
|
---|
59 | <doc:type>section</doc:type>
|
---|
60 | </appinfo>
|
---|
61 | </annotation>
|
---|
62 | </element>
|
---|
63 |
|
---|
64 | <element name="remarks" type="maml:namedSectionType">
|
---|
65 | <annotation>
|
---|
66 | <documentation>
|
---|
67 | This element contains a detailed discussion of the current item.
|
---|
68 | </documentation>
|
---|
69 | <appinfo>
|
---|
70 | <doc:localizable>n/a</doc:localizable>
|
---|
71 | <doc:type>section</doc:type>
|
---|
72 | </appinfo>
|
---|
73 | </annotation>
|
---|
74 | </element>
|
---|
75 |
|
---|
76 | <element name="legacy" type="maml:namedSectionType">
|
---|
77 | <annotation>
|
---|
78 | <documentation>
|
---|
79 | This element holds legacy content that has not been subdivided
|
---|
80 | into elements according to the latest standards.
|
---|
81 | </documentation>
|
---|
82 | <appinfo>
|
---|
83 | <doc:localizable>n/a</doc:localizable>
|
---|
84 | <doc:type>section</doc:type>
|
---|
85 | </appinfo>
|
---|
86 | </annotation>
|
---|
87 | </element>
|
---|
88 |
|
---|
89 | <element name="comments" type="maml:namedSectionType">
|
---|
90 | <annotation>
|
---|
91 | <documentation>
|
---|
92 | This element holds a general discussion.
|
---|
93 | </documentation>
|
---|
94 | <appinfo>
|
---|
95 | <doc:localizable>n/a</doc:localizable>
|
---|
96 | <doc:type>section</doc:type>
|
---|
97 | </appinfo>
|
---|
98 | </annotation>
|
---|
99 | </element>
|
---|
100 | <complexType name="codeType">
|
---|
101 | <choice>
|
---|
102 | <element ref="maml:code"/>
|
---|
103 | <element ref="maml:codeReference"/>
|
---|
104 | </choice>
|
---|
105 | </complexType>
|
---|
106 | <group name="codeExampleContentsGroup">
|
---|
107 | <sequence>
|
---|
108 | <element ref="maml:description" minOccurs="0"/>
|
---|
109 | <group ref="maml:codeGroup" minOccurs="1" maxOccurs="unbounded"/> <!-- This is to allow a single example with equivalent code in multiple languages -->
|
---|
110 | <element ref="maml:comments" minOccurs="0"/>
|
---|
111 | <element name="input" type="maml:codeType" minOccurs="0"/>
|
---|
112 | <element name="output" type="maml:codeType" minOccurs="0"/>
|
---|
113 | <element name="sampleOutput" type="maml:codeType" minOccurs="0"/>
|
---|
114 | </sequence>
|
---|
115 | </group>
|
---|
116 |
|
---|
117 | <complexType name="codeExampleType" mixed="false">
|
---|
118 | <choice>
|
---|
119 | <element ref="maml:legacy"/> <!-- TODO: review use of element to hold legacy content -->
|
---|
120 | <group ref="maml:codeExampleContentsGroup"/>
|
---|
121 | </choice>
|
---|
122 | </complexType>
|
---|
123 |
|
---|
124 | <element name="codeExample" type="maml:codeExampleType">
|
---|
125 | <annotation>
|
---|
126 | <documentation>
|
---|
127 | This element holds a discussion of a code example.
|
---|
128 | </documentation>
|
---|
129 | <appinfo>
|
---|
130 | <doc:localizable>n/a</doc:localizable>
|
---|
131 | <doc:type>section</doc:type>
|
---|
132 | </appinfo>
|
---|
133 | </annotation>
|
---|
134 | </element>
|
---|
135 |
|
---|
136 | <complexType name="codeExamplesType" mixed="false">
|
---|
137 | <sequence>
|
---|
138 | <element ref="maml:codeExample" minOccurs="0" maxOccurs="unbounded"/>
|
---|
139 | </sequence>
|
---|
140 | </complexType>
|
---|
141 |
|
---|
142 | <element name="codeExamples" type="maml:codeExamplesType">
|
---|
143 | <annotation>
|
---|
144 | <documentation>
|
---|
145 | This element is a collection of codeExample elements.
|
---|
146 | </documentation>
|
---|
147 | <appinfo>
|
---|
148 | <doc:localizable>n/a</doc:localizable>
|
---|
149 | <doc:type>section</doc:type>
|
---|
150 | </appinfo>
|
---|
151 | </annotation>
|
---|
152 | </element>
|
---|
153 | <element name="buildInstructions" type="maml:namedSectionType">
|
---|
154 | <annotation>
|
---|
155 | <documentation>
|
---|
156 | This element holds instructions for building a code example.
|
---|
157 | </documentation>
|
---|
158 | <appinfo>
|
---|
159 | <doc:localizable>n/a</doc:localizable>
|
---|
160 | <doc:type>section</doc:type>
|
---|
161 | </appinfo>
|
---|
162 | </annotation>
|
---|
163 | </element>
|
---|
164 | <element name="robustProgramming" type="maml:namedSectionType">
|
---|
165 | <annotation>
|
---|
166 | <documentation>
|
---|
167 | This element holds a discussion of error handling and other
|
---|
168 | issues related to writing solid code.
|
---|
169 | </documentation>
|
---|
170 | <appinfo>
|
---|
171 | <doc:localizable>n/a</doc:localizable>
|
---|
172 | <doc:type>section</doc:type>
|
---|
173 | </appinfo>
|
---|
174 | </annotation>
|
---|
175 | </element>
|
---|
176 |
|
---|
177 | <element name="security" type="maml:namedSectionType">
|
---|
178 | <annotation>
|
---|
179 | <documentation>
|
---|
180 | This element holds a discussion of security issues.
|
---|
181 | </documentation>
|
---|
182 | <appinfo>
|
---|
183 | <doc:localizable>n/a</doc:localizable>
|
---|
184 | <doc:type>section</doc:type>
|
---|
185 | </appinfo>
|
---|
186 | </annotation>
|
---|
187 | </element>
|
---|
188 |
|
---|
189 | <complexType name ="legacySyntaxType" mixed="true">
|
---|
190 | <choice minOccurs="0" maxOccurs="unbounded">
|
---|
191 | <!--<element name="legacyItalic" type="maml:textType"/>-->
|
---|
192 | <element ref="maml:parameterReference" />
|
---|
193 | <element name="legacyBold" type="maml:textType"/>
|
---|
194 | <element ref="maml:legacyLink"/>
|
---|
195 | <element ref="maml:legacyUnderline"/>
|
---|
196 | </choice>
|
---|
197 | <attribute name="language" type="maml:devLanguagesType"/>
|
---|
198 | <attribute ref="xml:space"/>
|
---|
199 | </complexType>
|
---|
200 |
|
---|
201 | <element name="legacySyntax" type="maml:legacySyntaxType">
|
---|
202 | <annotation>
|
---|
203 | <documentation>
|
---|
204 | This element holds syntax obtained from a converted document.
|
---|
205 | </documentation>
|
---|
206 | <appinfo>
|
---|
207 | <doc:localizable>false</doc:localizable>
|
---|
208 | <doc:type>block</doc:type>
|
---|
209 | </appinfo>
|
---|
210 | </annotation>
|
---|
211 | </element>
|
---|
212 |
|
---|
213 | <complexType name="syntaxSectionType" mixed="false">
|
---|
214 | <sequence>
|
---|
215 | <element ref="maml:sections" minOccurs="0" maxOccurs="1"/>
|
---|
216 | <element ref="maml:legacySyntax" minOccurs="1" maxOccurs="unbounded"/>
|
---|
217 | </sequence>
|
---|
218 | </complexType>
|
---|
219 |
|
---|
220 | <element name="syntaxSection" type="maml:syntaxSectionType">
|
---|
221 | <annotation>
|
---|
222 | <documentation>
|
---|
223 | This element holds syntax obtained from a converted document.
|
---|
224 | </documentation>
|
---|
225 | <appinfo>
|
---|
226 | <doc:localizable>n/a</doc:localizable>
|
---|
227 | <doc:type>section</doc:type>
|
---|
228 | </appinfo>
|
---|
229 | </annotation>
|
---|
230 | </element>
|
---|
231 |
|
---|
232 | <complexType name="schemaHierarchyType" mixed="false">
|
---|
233 | <sequence>
|
---|
234 | <element ref="maml:link" minOccurs="0" maxOccurs="unbounded"/>
|
---|
235 | </sequence>
|
---|
236 | </complexType>
|
---|
237 | <element name="schemaHierarchy" type="maml:schemaHierarchyType">
|
---|
238 | <annotation>
|
---|
239 | <documentation>
|
---|
240 | This element holds syntax obtained from a converted document.
|
---|
241 | </documentation>
|
---|
242 | <appinfo>
|
---|
243 | <doc:localizable>n/a</doc:localizable>
|
---|
244 | <doc:type>section</doc:type>
|
---|
245 | </appinfo>
|
---|
246 | </annotation>
|
---|
247 | </element>
|
---|
248 | <complexType name="attributesType" mixed="true">
|
---|
249 | <choice>
|
---|
250 | <element ref="maml:para"/>
|
---|
251 | <element ref="maml:table"/>
|
---|
252 | </choice>
|
---|
253 | </complexType>
|
---|
254 | <complexType name="attributeType" mixed="true">
|
---|
255 | <sequence>
|
---|
256 | <element name="title" type="maml:textType"/>
|
---|
257 | <element ref="maml:table"/>
|
---|
258 | </sequence>
|
---|
259 | </complexType>
|
---|
260 | <element name="attribute" type="maml:attributeType">
|
---|
261 | <annotation>
|
---|
262 | <documentation>
|
---|
263 | This element holds syntax obtained from a converted document.
|
---|
264 | </documentation>
|
---|
265 | <appinfo>
|
---|
266 | <doc:localizable>false</doc:localizable>
|
---|
267 | <doc:type>block</doc:type>
|
---|
268 | </appinfo>
|
---|
269 | </annotation>
|
---|
270 | </element>
|
---|
271 | <complexType name="attributesandElementsType" mixed="true">
|
---|
272 | <sequence>
|
---|
273 | <element ref="maml:para"/>
|
---|
274 | <element name="attributes" type="maml:attributesType"/>
|
---|
275 | <element ref="maml:attribute" minOccurs="0" maxOccurs="unbounded"/>
|
---|
276 | <element name="childElement" type="maml:attributesType"/>
|
---|
277 | <element name="parentElement" type="maml:attributesType"/>
|
---|
278 | </sequence>
|
---|
279 | </complexType>
|
---|
280 | <element name="attributesandElements" type="maml:attributesandElementsType">
|
---|
281 | <annotation>
|
---|
282 | <documentation>
|
---|
283 | This element holds syntax obtained from a converted document.
|
---|
284 | </documentation>
|
---|
285 | <appinfo>
|
---|
286 | <doc:localizable>false</doc:localizable>
|
---|
287 | <doc:type>block</doc:type>
|
---|
288 | </appinfo>
|
---|
289 | </annotation>
|
---|
290 | </element>
|
---|
291 | <complexType name="tableType" mixed="false">
|
---|
292 | <sequence>
|
---|
293 | <element ref="maml:table"/>
|
---|
294 | </sequence>
|
---|
295 | </complexType>
|
---|
296 | <element name="elementInformation" type="maml:tableType">
|
---|
297 | <annotation>
|
---|
298 | <documentation>
|
---|
299 | This element holds syntax obtained from a converted document.
|
---|
300 | </documentation>
|
---|
301 | <appinfo>
|
---|
302 | <doc:localizable>n/a</doc:localizable>
|
---|
303 | <doc:type>section</doc:type>
|
---|
304 | </appinfo>
|
---|
305 | </annotation>
|
---|
306 | </element>
|
---|
307 |
|
---|
308 | </schema>
|
---|