File size: 12,684 Bytes
8c763fb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 | <?xml version="1.0" encoding="utf-8"?>
<schema targetNamespace="http://schemas.microsoft.com/maml/2004/4" xmlns:doc="http://schemas.microsoft.com/maml/internal" xmlns:maml="http://schemas.microsoft.com/maml/2004/4" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<!-- Schema documentation -->
<annotation>
<documentation>
This schema describes the command page type of MAML.
</documentation>
</annotation>
<!-- INCLUDE AND IMPORT DECLARATIONS -->
<include schemaLocation="hierarchy.xsd"/>
<include schemaLocation="base.xsd"/>
<include schemaLocation="developerStructure.xsd"/>
<!-- END INCLUDE AND IMPORT DECLARATIONS -->
<!-- ROOT ELEMENT DEFINITION -->
<element name="commandHelp">
<annotation>
<documentation>
The commandHelp element describes the content model for the command help content type.
</documentation>
</annotation>
<complexType>
<sequence>
<!-- [gxie] items missing:
defaultverbs
class
shortdescription
-->
<!-- [gxie] items moved:
name : moved to commandDetails
verb : moved to commandDetails
noun : moved to commandDetails
? Synopsis : mapped to commandDetails.CommandDescription
-->
<!-- [gxie] items added:
keywords
commandDetails
commandSyntax
commandParameters
configuration
-->
<!-- [gxie] items updated:
description => DetailedDescription
? alertSet => Notes
commandExamples => Examples
? relatedLinks => SeeAlsoItems
commandExceptions => Exceptions
commandErrors => Errors
-->
<element ref="maml:keywords"/>
<element ref="maml:commandDetails"/>
<element ref="maml:description"/>
<!-- [gxie] ? will commandSyntax be generated from command Parameters or provided in help content itself-->
<element ref="maml:commandSyntax"/>
<element ref="maml:commandParameters" minOccurs="0"/>
<element ref="maml:inputTypes"/>
<element ref="maml:returnTypes"/>
<element ref="maml:commandExceptions"/>
<element ref="maml:commandErrors"/>
<element ref="maml:alertSet" maxOccurs="unbounded"/>
<element ref="maml:commandExamples" minOccurs="0"/>
<element ref="maml:configuration"/>
<element ref="maml:relatedLinks" maxOccurs="unbounded"/>
</sequence>
<attribute name="contentType" type="token"/>
</complexType>
</element>
<!-- END ROOT ELEMENT DEFINITION -->
<!-- ELEMENT AND TYPE DECLARATIONS -->
<!-- keywords definition -->
<!-- [gxie] ! keywords are not defined yet-->
<element name="keywords"/>
<!-- commandDetails definition -->
<element name="commandDetails">
<annotation>
<documentation>
The commandDetails element ...
</documentation>
</annotation>
<complexType>
<sequence>
<element name="name">
<complexType>
<complexContent>
<extension base="maml:textType">
<!-- [gxie] ? what's the meaning of commandType="provider"-->
<attribute name="commandType">
<simpleType>
<restriction base="token">
<enumeration value="provider"/>
</restriction>
</simpleType>
</attribute>
</extension>
</complexContent>
</complexType>
</element>
<!-- [gxie] ? Is this the same thing as synopsis or shot description-->
<element name="commandDescription" type="maml:textType"/>
<element name="synonyms" minOccurs="0">
<complexType>
<sequence>
<element name="synonym" type="maml:textType" maxOccurs="unbounded"/>
</sequence>
<!-- [gxie] ? what is usage of contentIdentificationSharingAndConditionGroup-->
<attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
</complexType>
</element>
<element name="commandCopyright" type="maml:textType"/>
<element name="verb" type="maml:textType"/>
<element name="noun" type="maml:textType"/>
<element name="version" type="maml:textType"/>
<element name="vendor" minOccurs="0">
<complexType>
<sequence>
<element ref="maml:name"/>
<element ref="maml:products"/>
</sequence>
</complexType>
</element>
</sequence>
<attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
</complexType>
</element>
<!-- end commandDetails definition -->
<!-- commandSyntax definition -->
<element name="commandSyntax">
<annotation>
<documentation>
The commandSyntax element ...
</documentation>
</annotation>
<complexType>
<sequence>
<element name="commandSyntaxItem">
<complexType>
<sequence>
<element ref="maml:name"/>
<element ref="maml:commandSyntaxParameter" minOccurs="0" maxOccurs="unbounded"/>
<element name="commandSyntaxParameterGroup" minOccurs="0" maxOccurs="unbounded">
<complexType>
<sequence>
<element ref="maml:commandSyntaxParameter" maxOccurs="unbounded"/>
</sequence>
</complexType>
</element>
</sequence>
<attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
</complexType>
</element>
</sequence>
<attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
</complexType>
</element>
<!-- end commandSyntax definition -->
<!-- commandParameters definition -->
<element name="commandParameters">
<annotation>
<documentation>
The commandParameters element ...
</documentation>
</annotation>
<complexType>
<sequence>
<element name="commandParameter" minOccurs="1" maxOccurs="unbounded">
<complexType>
<sequence>
<element ref="maml:name"/>
<element ref="maml:commandParameterValue"/>
<element ref="maml:type"/>
<!-- [gxie] ? should we reduce this to simple text -->
<element ref="maml:description"/>
<!-- [gxie] ? what is the difference of this from commandParameterValue-->
<element ref="maml:possibleValues"/>
<element name="defaultValue" type="maml:textType"/>
<element name="validation">
<complexType>
<sequence>
<!-- [gxie] ? what is the difference between minCount/minLength/minRange -->
<element name="minCount" type="maml:integerType"/>
<element name="maxCount" type="maml:integerType"/>
<element name="minLength" type="maml:integerType"/>
<element name="maxLength" type="maml:integerType"/>
<element name="minRange" type="maml:textType"/>
<element name="maxRange" type="maml:textType"/>
<element name="pattern" type="maml:textType"/>
</sequence>
<attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
</complexType>
</element>
</sequence>
<attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
<attribute name="required" type="boolean" use="required"/>
<attribute name="variableLength" type="boolean" use="required"/>
<attribute name="globbing" type="boolean" use="required"/>
<attribute name="pipelineInput" type="boolean" use="required"/>
<attribute name="position" type="integer" use="required"/>
</complexType>
</element>
</sequence>
<attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
</complexType>
</element>
<!-- end commandParameters definition -->
<!-- inputTypes definition -->
<element name="inputTypes">
<annotation>
<documentation>
The inputTypes element ...
</documentation>
</annotation>
<complexType>
<sequence>
<element name="inputType" maxOccurs="unbounded">
<complexType>
<sequence>
<element ref="maml:type"/>
<!-- [gxie] should we reduce this to simple text -->
<element ref="maml:description"/>
</sequence>
</complexType>
</element>
</sequence>
<attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
</complexType>
</element>
<!-- end inputTypes definition -->
<!-- returnTypes definition -->
<element name="returnTypes">
<annotation>
<documentation>
The returnTypes element ...
</documentation>
</annotation>
<complexType>
<sequence>
<element name="returnType">
<complexType>
<sequence>
<element ref="maml:type"/>
<!-- [gxie] should we reduce this to simple text -->
<element ref="maml:description"/>
</sequence>
</complexType>
</element>
</sequence>
<attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
</complexType>
</element>
<!-- end returnTypes definition -->
<!-- commandExceptions definition -->
<element name="commandExceptions">
<annotation>
<documentation>
The commandExceptions element ...
</documentation>
</annotation>
<complexType>
<sequence>
<element name="commandException" type="maml:commandExceptionType" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
</complexType>
</element>
<!-- end commandExceptions definition -->
<!-- commandErrors definition -->
<element name="commandErrors">
<annotation>
<documentation>
The commandErrors element ...
</documentation>
</annotation>
<complexType>
<sequence>
<element name="commandError" minOccurs="0" maxOccurs="unbounded">
<complexType>
<complexContent>
<extension base="maml:commandExceptionType"/>
</complexContent>
</complexType>
</element>
</sequence>
<attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
</complexType>
</element>
<!-- end commandErrors definition -->
<!-- commandExamples definition -->
<element name="commandExamples">
<annotation>
<documentation>
The commandExamples element ...
</documentation>
</annotation>
<complexType>
<sequence>
<element name="commandExample" maxOccurs="unbounded">
<complexType>
<complexContent>
<extension base="maml:codeExampleType"/>
</complexContent>
</complexType>
</element>
</sequence>
<attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
</complexType>
</element>
<!-- end commandExamples definition -->
<!-- configuration definition -->
<element name="configuration">
<annotation>
<documentation>
The configuration element ...
</documentation>
</annotation>
<complexType>
<!-- [gxie] ! this is not defined yet -->
<sequence/>
<attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
</complexType>
</element>
<!-- end configuration definition -->
<!-- END ELEMENT AND TYPE DECLARATIONS -->
<!-- GLOBALS -->
<element name="commandSyntaxParameter">
<complexType>
<sequence>
<element name="commandSyntaxParameterName">
<complexType>
<attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
<attribute name="required" type="boolean"/>
</complexType>
</element>
<choice>
<element ref="maml:commandParameterValue"/>
<element name="commandSyntaxParameterValueGroup">
<complexType>
<sequence minOccurs="2" maxOccurs="unbounded">
<element ref="maml:commandParameterValue"/>
</sequence>
<attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
<!-- [gxie] ? what is the meaning of required here -->
<attribute name="required" type="boolean" use="required"/>
</complexType>
</element>
</choice>
</sequence>
<attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
</complexType>
</element>
<element name="commandParameterValue">
<complexType>
<attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
<!-- [gxie] ? what is the meaning of required here -->
<attribute name="required" type="boolean" use="required"/>
<attribute name="variableLength" type="boolean" use="required"/>
<attribute name="type" use="optional" default="literal">
<simpleType>
<restriction base="token">
<enumeration value="literal"/>
<!-- [gxie] what is the meaning of placeHolder here -->
<enumeration value="placeHolder"/>
</restriction>
</simpleType>
</attribute>
</complexType>
</element>
<complexType name="commandExceptionType">
<sequence>
<element ref="maml:type"/>
<!-- [gxie] ? should we reduce this to a simple block of text -->
<element ref="maml:description"/>
<element name="message"/>
<element name="category" minOccurs="0"/>
</sequence>
</complexType>
<!-- END GLOBALS -->
</schema>
|