1 | <?xml version="1.0" encoding="utf-8" ?>
|
---|
2 | <schema xmlns="http://www.w3.org/2001/XMLSchema"
|
---|
3 | xmlns:maml="http://ddue.schemas.microsoft.com/authoring/2003/5"
|
---|
4 | xmlns:doc="http://ddue.schemas.microsoft.com/authoring/internal"
|
---|
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 common hierarchy types 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="structure.xsd"/>
|
---|
20 |
|
---|
21 | <complexType name="paraType">
|
---|
22 | <sequence>
|
---|
23 | <element ref="maml:para"/>
|
---|
24 | </sequence>
|
---|
25 | <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
|
---|
26 | </complexType>
|
---|
27 |
|
---|
28 | <complexType name="sectionType">
|
---|
29 | <sequence>
|
---|
30 | <element ref="maml:title" minOccurs="0" maxOccurs="1"/>
|
---|
31 | <element ref="maml:content"/>
|
---|
32 | <element ref="maml:sections" minOccurs="0" maxOccurs="1"/>
|
---|
33 | </sequence>
|
---|
34 | <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
|
---|
35 | </complexType>
|
---|
36 |
|
---|
37 | <complexType name="namedSectionType">
|
---|
38 | <sequence>
|
---|
39 | <element ref="maml:content"/>
|
---|
40 | <element ref="maml:sections" minOccurs="0" maxOccurs="1"/>
|
---|
41 | </sequence>
|
---|
42 | <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
|
---|
43 | </complexType>
|
---|
44 |
|
---|
45 | <element name="section" type="maml:sectionType">
|
---|
46 | <annotation>
|
---|
47 | <documentation>
|
---|
48 | The section element describes a section within a document.
|
---|
49 | The section element supports recursion.
|
---|
50 | </documentation>
|
---|
51 | <appinfo>
|
---|
52 | <doc:localizable>n/a</doc:localizable>
|
---|
53 | <doc:type>section</doc:type>
|
---|
54 | </appinfo>
|
---|
55 | </annotation>
|
---|
56 | </element>
|
---|
57 |
|
---|
58 | <element name="sectionSimple" type="maml:sectionContentType">
|
---|
59 | <annotation>
|
---|
60 | <documentation>
|
---|
61 | The sectionSimple element describes a section within a document.
|
---|
62 | This element is similar to the section element; however, it is not
|
---|
63 | recursive.
|
---|
64 | </documentation>
|
---|
65 | <appinfo>
|
---|
66 | <doc:localizable>n/a</doc:localizable>
|
---|
67 | <doc:type>section</doc:type>
|
---|
68 | </appinfo>
|
---|
69 | </annotation>
|
---|
70 | </element>
|
---|
71 |
|
---|
72 | <complexType name="sectionsType" mixed="false">
|
---|
73 | <choice minOccurs="0" maxOccurs="unbounded">
|
---|
74 | <element ref="maml:section"/>
|
---|
75 | <element ref="maml:sectionSimple"/>
|
---|
76 | <element name="conditionalSection">
|
---|
77 | <complexType>
|
---|
78 | <sequence>
|
---|
79 | <element ref="maml:conditions"/>
|
---|
80 | <element name="conditionalContent" type="maml:sectionsType"/>
|
---|
81 | </sequence>
|
---|
82 | </complexType>
|
---|
83 | </element>
|
---|
84 | </choice>
|
---|
85 | <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
|
---|
86 | </complexType>
|
---|
87 |
|
---|
88 | <element name="sections" type="maml:sectionsType">
|
---|
89 | <annotation>
|
---|
90 | <documentation>
|
---|
91 | This element holds a collection of section elements.
|
---|
92 | </documentation>
|
---|
93 | <appinfo>
|
---|
94 | <doc:localizable>n/a</doc:localizable>
|
---|
95 | <doc:type>section</doc:type>
|
---|
96 | </appinfo>
|
---|
97 | </annotation>
|
---|
98 | </element>
|
---|
99 | <element name="sampleRef">
|
---|
100 | <annotation>
|
---|
101 | <documentation>
|
---|
102 | The sampleRef element contains a reference to an external code sample.
|
---|
103 | </documentation>
|
---|
104 | </annotation>
|
---|
105 | <complexType>
|
---|
106 | <attribute name="srcID" type="token"/>
|
---|
107 | <attribute name="databaseID" type="token"/>
|
---|
108 | </complexType>
|
---|
109 | </element>
|
---|
110 | <group name="relatedTopicLinkGroup">
|
---|
111 | <choice>
|
---|
112 | <element ref="maml:link"/>
|
---|
113 | <element ref="maml:legacyLink"/>
|
---|
114 | <element ref="maml:codeEntityReference"/>
|
---|
115 | <element ref="maml:externalLink"/>
|
---|
116 | <element ref="maml:sampleRef"/>
|
---|
117 | </choice>
|
---|
118 | </group>
|
---|
119 |
|
---|
120 | <complexType name="relatedTopicsType" mixed="false">
|
---|
121 | <choice minOccurs="0" maxOccurs="unbounded">
|
---|
122 | <group ref="maml:relatedTopicLinkGroup"/>
|
---|
123 | </choice>
|
---|
124 | <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
|
---|
125 | </complexType>
|
---|
126 |
|
---|
127 | <element name="relatedTopics" type="maml:relatedTopicsType">
|
---|
128 | <annotation>
|
---|
129 | <documentation>
|
---|
130 | The relatedTopicsLink is used to link to other topics that might be interesting to the reader.
|
---|
131 | </documentation>
|
---|
132 | <appinfo>
|
---|
133 | <doc:localizable>n/a</doc:localizable>
|
---|
134 | <doc:type>section</doc:type>
|
---|
135 | </appinfo>
|
---|
136 | </annotation>
|
---|
137 | </element>
|
---|
138 | <complexType name="externalResourcesType" mixed="false">
|
---|
139 | <sequence>
|
---|
140 | <element ref="maml:link"/>
|
---|
141 | </sequence>
|
---|
142 | </complexType>
|
---|
143 | <element name="externalResources" type="maml:externalResourcesType">
|
---|
144 | <annotation>
|
---|
145 | <documentation>
|
---|
146 | This element holds a collection of section elements.
|
---|
147 | </documentation>
|
---|
148 | <appinfo>
|
---|
149 | <doc:localizable>n/a</doc:localizable>
|
---|
150 | <doc:type>section</doc:type>
|
---|
151 | </appinfo>
|
---|
152 | </annotation>
|
---|
153 | </element>
|
---|
154 | <!-- complexType declarations -->
|
---|
155 | <complexType name="contentTypeType">
|
---|
156 | <complexContent>
|
---|
157 | <extension base="maml:sectionType">
|
---|
158 | <sequence>
|
---|
159 | <!--<element ref="maml:alertSet" minOccurs="0"/>-->
|
---|
160 | <element ref="maml:relatedTopics" minOccurs="0" maxOccurs="1"/>
|
---|
161 | </sequence>
|
---|
162 | <attribute name="contentType" type="token"/>
|
---|
163 | </extension>
|
---|
164 | </complexContent>
|
---|
165 | </complexType>
|
---|
166 |
|
---|
167 | </schema>
|
---|