| 1 | <?xml version="1.0" encoding="utf-8" ?>
|
|---|
| 2 | <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:maml="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:doc="http://ddue.schemas.microsoft.com/authoring/internal" targetNamespace="http://ddue.schemas.microsoft.com/authoring/2003/5" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
|---|
| 3 | <!-- Schema documentation -->
|
|---|
| 4 | <annotation>
|
|---|
| 5 | <documentation>
|
|---|
| 6 | This schema defines common inline elements.
|
|---|
| 7 | </documentation>
|
|---|
| 8 | </annotation>
|
|---|
| 9 | <!-- include and import declarations -->
|
|---|
| 10 | <include schemaLocation="base.xsd" />
|
|---|
| 11 | <!-- element declarations -->
|
|---|
| 12 | <!-- linking elements -->
|
|---|
| 13 | <element name="link" type="maml:inlineLinkType">
|
|---|
| 14 | <annotation>
|
|---|
| 15 | <documentation>
|
|---|
| 16 | The link element can contain text but this text
|
|---|
| 17 | is discarded at build time in favor of the actual title of
|
|---|
| 18 | the link target, so the text in this element is not localizable.
|
|---|
| 19 | </documentation>
|
|---|
| 20 | <appinfo>
|
|---|
| 21 | <doc:localizable>false</doc:localizable>
|
|---|
| 22 | <doc:type>character</doc:type>
|
|---|
| 23 | </appinfo>
|
|---|
| 24 | </annotation>
|
|---|
| 25 | </element>
|
|---|
| 26 | <element name="legacyLink" type="maml:inlineLinkType">
|
|---|
| 27 | <annotation>
|
|---|
| 28 | <documentation>
|
|---|
| 29 | The legacyLink element allows custom text to be used for the link, so
|
|---|
| 30 | the text is localizable. The link element is to be preferred over the
|
|---|
| 31 | legacyLink element for all new content.
|
|---|
| 32 | </documentation>
|
|---|
| 33 | <appinfo>
|
|---|
| 34 | <doc:localizable>true</doc:localizable>
|
|---|
| 35 | <doc:type>character</doc:type>
|
|---|
| 36 | </appinfo>
|
|---|
| 37 | </annotation>
|
|---|
| 38 | </element>
|
|---|
| 39 | <!-- media links -->
|
|---|
| 40 | <element name="mediaLinkInline" type="maml:mediaLinkInlineType">
|
|---|
| 41 | <annotation>
|
|---|
| 42 | <documentation>
|
|---|
| 43 | The mediaLinkInline element
|
|---|
| 44 | </documentation>
|
|---|
| 45 | <appinfo>
|
|---|
| 46 | <doc:localizable>n/a</doc:localizable>
|
|---|
| 47 | <doc:type>character</doc:type>
|
|---|
| 48 | </appinfo>
|
|---|
| 49 | </annotation>
|
|---|
| 50 | </element>
|
|---|
| 51 |
|
|---|
| 52 | <complexType name="mediaLinkType">
|
|---|
| 53 | <annotation>
|
|---|
| 54 | <documentation>This complexType is intended as the content model for media referencing elements in the schema.</documentation>
|
|---|
| 55 | </annotation>
|
|---|
| 56 | <sequence>
|
|---|
| 57 | <element name="caption" type="token" minOccurs="0">
|
|---|
| 58 | <annotation>
|
|---|
| 59 | <documentation>The caption element describes a summary of an associated object, such as an image.</documentation>
|
|---|
| 60 | <documentation>This text is intended for the alternate text in web representations.</documentation>
|
|---|
| 61 | <appinfo>
|
|---|
| 62 | <doc:localizable>true</doc:localizable>
|
|---|
| 63 | <doc:type>character</doc:type>
|
|---|
| 64 | </appinfo>
|
|---|
| 65 | </annotation>
|
|---|
| 66 | </element>
|
|---|
| 67 | <element name="image">
|
|---|
| 68 | <complexType>
|
|---|
| 69 | <annotation>
|
|---|
| 70 | <documentation>A source link targeting the platform object type: image.</documentation>
|
|---|
| 71 | <documentation>The structure required to define a link to an image object.</documentation>
|
|---|
| 72 | <documentation>The mediaLinkInline element represents a reference to an image object</documentation>
|
|---|
| 73 | <documentation>directly (optionally via a presentation object).</documentation>
|
|---|
| 74 | <appinfo>
|
|---|
| 75 | <doc:localizable>false</doc:localizable>
|
|---|
| 76 | <doc:type>structure</doc:type>
|
|---|
| 77 | </appinfo>
|
|---|
| 78 | </annotation>
|
|---|
| 79 | <attributeGroup ref="maml:linkingGroup" />
|
|---|
| 80 | </complexType>
|
|---|
| 81 | </element>
|
|---|
| 82 | </sequence>
|
|---|
| 83 | </complexType>
|
|---|
| 84 |
|
|---|
| 85 | <complexType name="mediaLinkInlineType">
|
|---|
| 86 | <annotation>
|
|---|
| 87 | <documentation>This complexType is intended as the content model for media referencing elements in the schema.</documentation>
|
|---|
| 88 | </annotation>
|
|---|
| 89 | <sequence>
|
|---|
| 90 | <element name="image">
|
|---|
| 91 | <complexType>
|
|---|
| 92 | <annotation>
|
|---|
| 93 | <documentation>A source link targeting the platform object type: image.</documentation>
|
|---|
| 94 | <documentation>The structure required to define a link to an image object.</documentation>
|
|---|
| 95 | <documentation>The mediaLinkInline element represents a reference to an image object</documentation>
|
|---|
| 96 | <documentation>directly (optionally via a presentation object).</documentation>
|
|---|
| 97 | <appinfo>
|
|---|
| 98 | <doc:localizable>false</doc:localizable>
|
|---|
| 99 | <doc:type>structure</doc:type>
|
|---|
| 100 | </appinfo>
|
|---|
| 101 | </annotation>
|
|---|
| 102 | <attributeGroup ref="maml:linkingGroup" />
|
|---|
| 103 | </complexType>
|
|---|
| 104 | </element>
|
|---|
| 105 | </sequence>
|
|---|
| 106 | </complexType>
|
|---|
| 107 |
|
|---|
| 108 | <!-- Code links -->
|
|---|
| 109 | <simpleType name="codeEntityReferenceStringType">
|
|---|
| 110 | <restriction base="token">
|
|---|
| 111 | <!--<pattern value='[NTFPME]:[^)(]+([(][^)(]*[)])?'/>-->
|
|---|
| 112 | <pattern value='.*' />
|
|---|
| 113 | </restriction>
|
|---|
| 114 | </simpleType>
|
|---|
| 115 | <complexType name="codeEntityReferenceType" mixed="false">
|
|---|
| 116 | <simpleContent>
|
|---|
| 117 | <extension base="maml:codeEntityReferenceStringType">
|
|---|
| 118 | <attribute name="qualifyHint" type="boolean" />
|
|---|
| 119 | <attribute name="autoUpgrade" type="boolean" />
|
|---|
| 120 | </extension>
|
|---|
| 121 | </simpleContent>
|
|---|
| 122 | </complexType>
|
|---|
| 123 | <element name="codeEntityReference" type="maml:codeEntityReferenceType">
|
|---|
| 124 | <annotation>
|
|---|
| 125 | <documentation>
|
|---|
| 126 | This element holds a reference to a code entity.
|
|---|
| 127 | </documentation>
|
|---|
| 128 | <appinfo>
|
|---|
| 129 | <doc:localizable>false</doc:localizable>
|
|---|
| 130 | <doc:type>character</doc:type>
|
|---|
| 131 | </appinfo>
|
|---|
| 132 | </annotation>
|
|---|
| 133 | </element>
|
|---|
| 134 | <element name="parameterReference" type="maml:textType">
|
|---|
| 135 | <annotation>
|
|---|
| 136 | <documentation>
|
|---|
| 137 | This element holds a reference to a parameter.
|
|---|
| 138 | </documentation>
|
|---|
| 139 | <appinfo>
|
|---|
| 140 | <doc:localizable>false</doc:localizable>
|
|---|
| 141 | <doc:type>character</doc:type>
|
|---|
| 142 | </appinfo>
|
|---|
| 143 | </annotation>
|
|---|
| 144 | </element>
|
|---|
| 145 | <group name="codeLinkingGroup">
|
|---|
| 146 | <annotation>
|
|---|
| 147 | <documentation>
|
|---|
| 148 | This type describes the set of inline elements that are
|
|---|
| 149 | used for referring to code elements and parameters.
|
|---|
| 150 | </documentation>
|
|---|
| 151 | </annotation>
|
|---|
| 152 | <choice>
|
|---|
| 153 | <element ref="maml:codeEntityReference" />
|
|---|
| 154 | <element ref="maml:parameterReference" />
|
|---|
| 155 | </choice>
|
|---|
| 156 | </group>
|
|---|
| 157 | <!-- external resource links -->
|
|---|
| 158 | <complexType name="inlineLinkType" mixed="true">
|
|---|
| 159 | <simpleContent>
|
|---|
| 160 | <extension base="maml:textType">
|
|---|
| 161 | <attributeGroup ref="maml:linkingGroup" />
|
|---|
| 162 | </extension>
|
|---|
| 163 | </simpleContent>
|
|---|
| 164 | </complexType>
|
|---|
| 165 | <complexType name="sharedContentParameterType" mixed="true">
|
|---|
| 166 | <choice minOccurs="0" maxOccurs="unbounded">
|
|---|
| 167 | <group ref="maml:inlineGroup" />
|
|---|
| 168 | </choice>
|
|---|
| 169 | <attribute name="name" type="token" />
|
|---|
| 170 | </complexType>
|
|---|
| 171 | <element name="sharedContentParameter" type="maml:sharedContentParameterType">
|
|---|
| 172 | <annotation>
|
|---|
| 173 | <documentation></documentation>
|
|---|
| 174 | <appinfo>
|
|---|
| 175 | <doc:localizable>true</doc:localizable>
|
|---|
| 176 | <doc:type>character</doc:type>
|
|---|
| 177 | </appinfo>
|
|---|
| 178 | </annotation>
|
|---|
| 179 | </element>
|
|---|
| 180 | <complexType name="sharedContentType">
|
|---|
| 181 | <sequence>
|
|---|
| 182 | <element ref="maml:sharedContentParameter" minOccurs="0" maxOccurs="unbounded" />
|
|---|
| 183 | </sequence>
|
|---|
| 184 | <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup" />
|
|---|
| 185 | <attributeGroup ref="maml:linkingGroup" />
|
|---|
| 186 | </complexType>
|
|---|
| 187 | <element name="sharedContent" type="maml:sharedContentType">
|
|---|
| 188 | <annotation>
|
|---|
| 189 | <documentation></documentation>
|
|---|
| 190 | <appinfo>
|
|---|
| 191 | <doc:localizable>n/a</doc:localizable>
|
|---|
| 192 | <doc:type>character</doc:type>
|
|---|
| 193 | </appinfo>
|
|---|
| 194 | </annotation>
|
|---|
| 195 | </element>
|
|---|
| 196 | <!-- External redir web link -->
|
|---|
| 197 | <element name="externalLink">
|
|---|
| 198 | <annotation>
|
|---|
| 199 | <documentation>
|
|---|
| 200 | The externalLink element describes links that are external to Microsoft
|
|---|
| 201 | and must be managed through a redirection scheme.
|
|---|
| 202 | </documentation>
|
|---|
| 203 | <appinfo>
|
|---|
| 204 | <doc:localizable>n/a</doc:localizable>
|
|---|
| 205 | <doc:type>character</doc:type>
|
|---|
| 206 | </appinfo>
|
|---|
| 207 | </annotation>
|
|---|
| 208 | <complexType>
|
|---|
| 209 | <sequence>
|
|---|
| 210 | <element name="linkText" type="maml:textType">
|
|---|
| 211 | <annotation>
|
|---|
| 212 | <documentation>
|
|---|
| 213 | The linkText element describes the text of a link.
|
|---|
| 214 | </documentation>
|
|---|
| 215 | <appinfo>
|
|---|
| 216 | <doc:localizable>true</doc:localizable>
|
|---|
| 217 | <doc:type>character</doc:type>
|
|---|
| 218 | </appinfo>
|
|---|
| 219 | </annotation>
|
|---|
| 220 | </element>
|
|---|
| 221 | <element name="linkAlternateText" type="maml:textType" minOccurs="0">
|
|---|
| 222 | <annotation>
|
|---|
| 223 | <documentation>
|
|---|
| 224 | The linkAlternateText element describes the alternate
|
|---|
| 225 | text of the link, used for "alt text" on the Web.
|
|---|
| 226 | </documentation>
|
|---|
| 227 | <appinfo>
|
|---|
| 228 | <doc:localizable>true</doc:localizable>
|
|---|
| 229 | <doc:type>character</doc:type>
|
|---|
| 230 | </appinfo>
|
|---|
| 231 | </annotation>
|
|---|
| 232 | </element>
|
|---|
| 233 | <element name="linkUri" type="maml:textType">
|
|---|
| 234 | <annotation>
|
|---|
| 235 | <documentation>
|
|---|
| 236 | The linkUri element describes the URI of the link.
|
|---|
| 237 | </documentation>
|
|---|
| 238 | <appinfo>
|
|---|
| 239 | <doc:localizable>true</doc:localizable>
|
|---|
| 240 | <doc:type>character</doc:type>
|
|---|
| 241 | </appinfo>
|
|---|
| 242 | </annotation>
|
|---|
| 243 | </element>
|
|---|
| 244 | </sequence>
|
|---|
| 245 | </complexType>
|
|---|
| 246 | </element>
|
|---|
| 247 | <!-- group declarations -->
|
|---|
| 248 | <group name="inlineLinkingGroup">
|
|---|
| 249 | <annotation>
|
|---|
| 250 | <documentation>
|
|---|
| 251 | This type describes the set of inline elements that are likely to be
|
|---|
| 252 | needed for block elements' content models.
|
|---|
| 253 | </documentation>
|
|---|
| 254 | </annotation>
|
|---|
| 255 | <choice>
|
|---|
| 256 | <group ref="maml:codeLinkingGroup" />
|
|---|
| 257 | <element ref="maml:link" />
|
|---|
| 258 | <element ref="maml:legacyLink" />
|
|---|
| 259 | <element ref="maml:mediaLinkInline" />
|
|---|
| 260 | <element ref="maml:externalLink" />
|
|---|
| 261 | </choice>
|
|---|
| 262 | </group>
|
|---|
| 263 | </schema>
|
|---|