[1146] | 1 | <?xml version="1.0" encoding="utf-8" ?>
|
---|
| 2 | <schema xmlns="http://www.w3.org/2001/XMLSchema"
|
---|
| 3 | xmlns:doc="http://ddue.schemas.microsoft.com/authoring/internal"
|
---|
| 4 | xmlns:maml="http://ddue.schemas.microsoft.com/authoring/2003/5"
|
---|
| 5 | targetNamespace="http://ddue.schemas.microsoft.com/authoring/2003/5"
|
---|
| 6 | elementFormDefault="qualified"
|
---|
| 7 | attributeFormDefault="unqualified"
|
---|
| 8 | >
|
---|
| 9 |
|
---|
| 10 | <!-- Schema documentation -->
|
---|
| 11 | <annotation>
|
---|
| 12 | <documentation>
|
---|
| 13 | This schema definition defines the inline UI elements for the CS Schema.
|
---|
| 14 | This schema is part of the base layer.
|
---|
| 15 | </documentation>
|
---|
| 16 | </annotation>
|
---|
| 17 |
|
---|
| 18 | <!-- include and import declarations -->
|
---|
| 19 | <include schemaLocation="base.xsd" />
|
---|
| 20 |
|
---|
| 21 | <!-- element declarations -->
|
---|
| 22 | <element name="button">
|
---|
| 23 | <annotation>
|
---|
| 24 | <documentation>
|
---|
| 25 | The button element describes various types of buttons.
|
---|
| 26 | </documentation>
|
---|
| 27 | <appinfo>
|
---|
| 28 | <doc:localizable>true</doc:localizable>
|
---|
| 29 | <doc:type>character</doc:type>
|
---|
| 30 | </appinfo>
|
---|
| 31 | </annotation>
|
---|
| 32 | <complexType>
|
---|
| 33 | <simpleContent>
|
---|
| 34 | <extension base="token">
|
---|
| 35 | <attribute name="type" use="required">
|
---|
| 36 | <simpleType>
|
---|
| 37 | <restriction base="token">
|
---|
| 38 | <enumeration value="leftMouseButton" />
|
---|
| 39 | <enumeration value="middleMouseButton" />
|
---|
| 40 | <enumeration value="rightMouseButton" />
|
---|
| 41 | <enumeration value="macMouseButton" />
|
---|
| 42 | <enumeration value="toolbarButton" />
|
---|
| 43 | <enumeration value="dialogButton" />
|
---|
| 44 | <enumeration value="genericButton" />
|
---|
| 45 | </restriction>
|
---|
| 46 | </simpleType>
|
---|
| 47 | </attribute>
|
---|
| 48 | </extension>
|
---|
| 49 | </simpleContent>
|
---|
| 50 | </complexType>
|
---|
| 51 | </element>
|
---|
| 52 |
|
---|
| 53 | <element name="label" type="token">
|
---|
| 54 | <annotation>
|
---|
| 55 | <documentation>
|
---|
| 56 | The label element describes the text of a label on a UI control.
|
---|
| 57 | </documentation>
|
---|
| 58 | <appinfo>
|
---|
| 59 | <doc:localizable>true</doc:localizable>
|
---|
| 60 | <doc:type>character</doc:type>
|
---|
| 61 | </appinfo>
|
---|
| 62 | </annotation>
|
---|
| 63 | </element>
|
---|
| 64 |
|
---|
| 65 | <element name="userInput" type="token">
|
---|
| 66 | <annotation>
|
---|
| 67 | <documentation>
|
---|
| 68 | The userInput element describes data that is entered by the user.
|
---|
| 69 | </documentation>
|
---|
| 70 | <appinfo>
|
---|
| 71 | <doc:localizable>false</doc:localizable>
|
---|
| 72 | <doc:type>character</doc:type>
|
---|
| 73 | </appinfo>
|
---|
| 74 | </annotation>
|
---|
| 75 | </element>
|
---|
| 76 |
|
---|
| 77 | <element name="userInputLocalizable" type="token">
|
---|
| 78 | <annotation>
|
---|
| 79 | <documentation>
|
---|
| 80 | The ui element describes any localizable user input.
|
---|
| 81 | </documentation>
|
---|
| 82 | <appinfo>
|
---|
| 83 | <doc:localizable>true</doc:localizable>
|
---|
| 84 | <doc:type>character</doc:type>
|
---|
| 85 | </appinfo>
|
---|
| 86 | </annotation>
|
---|
| 87 | </element>
|
---|
| 88 |
|
---|
| 89 | <!-- attribute declarations -->
|
---|
| 90 | <attributeGroup name="userInstructionGroup">
|
---|
| 91 | <annotation>
|
---|
| 92 | <documentation>
|
---|
| 93 | This type is intended for use for describing user actions
|
---|
| 94 | </documentation>
|
---|
| 95 | </annotation>
|
---|
| 96 | <attribute name="instruction">
|
---|
| 97 | <annotation>
|
---|
| 98 | <documentation>
|
---|
| 99 | The action attribute describes a user action, via either
|
---|
| 100 | key combination or mouse.
|
---|
| 101 | </documentation>
|
---|
| 102 | </annotation>
|
---|
| 103 | <simpleType>
|
---|
| 104 | <restriction base="token">
|
---|
| 105 | <enumeration value="click" />
|
---|
| 106 | <enumeration value="double-click" />
|
---|
| 107 | <enumeration value="other" />
|
---|
| 108 | <enumeration value="press" />
|
---|
| 109 | <enumeration value="inSequence" />
|
---|
| 110 | <enumeration value="simultaneously" />
|
---|
| 111 | </restriction>
|
---|
| 112 | </simpleType>
|
---|
| 113 | </attribute>
|
---|
| 114 | </attributeGroup>
|
---|
| 115 |
|
---|
| 116 | <!-- group declarations -->
|
---|
| 117 | <group name="inlineUiGroup">
|
---|
| 118 | <annotation>
|
---|
| 119 | <documentation>
|
---|
| 120 | This group is intended to be be used for referencing all base UI
|
---|
| 121 | elements.
|
---|
| 122 | </documentation>
|
---|
| 123 | </annotation>
|
---|
| 124 | <choice>
|
---|
| 125 | <element ref="maml:userInput" />
|
---|
| 126 | <element ref="maml:userInputLocalizable" />
|
---|
| 127 | </choice>
|
---|
| 128 | </group>
|
---|
| 129 |
|
---|
| 130 | <group name="userActionsGroup">
|
---|
| 131 | <choice>
|
---|
| 132 | <element ref="maml:button" />
|
---|
| 133 | </choice>
|
---|
| 134 | </group>
|
---|
| 135 |
|
---|
| 136 | </schema>
|
---|