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 structure 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="conditionSet.xsd"/>
|
---|
20 | <include schemaLocation="structureTable.xsd"/>
|
---|
21 | <include schemaLocation="structureList.xsd"/>
|
---|
22 | <include schemaLocation="structureProcedure.xsd"/>
|
---|
23 | <include schemaLocation="structureMedia.xsd"/>
|
---|
24 |
|
---|
25 | <complexType name="conditionalSectionType">
|
---|
26 | <sequence>
|
---|
27 | <element ref="maml:conditions"/>
|
---|
28 | <element name="conditionalContent" type="maml:sectionContentType"/>
|
---|
29 | </sequence>
|
---|
30 | </complexType>
|
---|
31 |
|
---|
32 | <complexType name="procedureSectionContentType" mixed="false">
|
---|
33 | <sequence>
|
---|
34 | <choice minOccurs="0" maxOccurs="unbounded">
|
---|
35 | <!-- structureGroup minus procedure START -->
|
---|
36 | <group ref="maml:blockGroup"/>
|
---|
37 | <group ref="maml:structureListGroup"/>
|
---|
38 | <element ref="maml:definitionTable"/>
|
---|
39 | <element ref="maml:table"/>
|
---|
40 | <group ref="maml:structureMediaGroup"/>
|
---|
41 | <!-- structureGroup minus procedure END -->
|
---|
42 | <element name="conditionalSection" type="maml:conditionalSectionType"/>
|
---|
43 | </choice>
|
---|
44 | <element ref="maml:procedure"/>
|
---|
45 | <choice minOccurs="0" maxOccurs="unbounded">
|
---|
46 | <group ref="maml:structureGroup"/>
|
---|
47 | <element name="conditionalSection" type="maml:conditionalSectionType"/>
|
---|
48 | </choice>
|
---|
49 | </sequence>
|
---|
50 | <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
|
---|
51 | </complexType>
|
---|
52 |
|
---|
53 | <!-- A procedure is required in this section, but not in child sections -->
|
---|
54 | <complexType name="procedureSectionType">
|
---|
55 | <sequence>
|
---|
56 | <element ref="maml:title" minOccurs="0" maxOccurs="1"/>
|
---|
57 | <element name="content" type="maml:procedureSectionContentType"/>
|
---|
58 | <element ref="maml:sections" minOccurs="0" maxOccurs="1"/>
|
---|
59 | </sequence>
|
---|
60 | <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
|
---|
61 | </complexType>
|
---|
62 |
|
---|
63 | <complexType name="sectionContentType" mixed="false">
|
---|
64 | <choice minOccurs="0" maxOccurs="unbounded">
|
---|
65 | <group ref="maml:structureGroup"/>
|
---|
66 | <element name="conditionalSection" type="maml:conditionalSectionType"/>
|
---|
67 | </choice>
|
---|
68 | <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
|
---|
69 | </complexType>
|
---|
70 |
|
---|
71 | <element name="content" type="maml:sectionContentType">
|
---|
72 | <annotation>
|
---|
73 | <documentation>
|
---|
74 | This element holds authored content.
|
---|
75 | </documentation>
|
---|
76 | <appinfo>
|
---|
77 | <doc:localizable>n/a</doc:localizable>
|
---|
78 | <doc:type>structure</doc:type>
|
---|
79 | </appinfo>
|
---|
80 | </annotation>
|
---|
81 | </element>
|
---|
82 |
|
---|
83 | <element name="definition" type="maml:sectionContentType">
|
---|
84 | <annotation>
|
---|
85 | <documentation>A single definition that goes with this entry</documentation>
|
---|
86 | <appinfo><doc:localizable>n/a</doc:localizable></appinfo>
|
---|
87 | </annotation>
|
---|
88 | </element>
|
---|
89 |
|
---|
90 | <element name="definedTerm" type="maml:inlineType">
|
---|
91 | <annotation>
|
---|
92 | <documentation>A single item that is being defined</documentation>
|
---|
93 | <appinfo><doc:localizable>true</doc:localizable></appinfo>
|
---|
94 | </annotation>
|
---|
95 | </element>
|
---|
96 |
|
---|
97 | <complexType name="definitionTableType" mixed="false">
|
---|
98 | <sequence maxOccurs="unbounded">
|
---|
99 | <element ref="maml:definedTerm"/>
|
---|
100 | <element ref="maml:definition"/>
|
---|
101 | </sequence>
|
---|
102 | </complexType>
|
---|
103 |
|
---|
104 | <element name="definitionTable" type="maml:definitionTableType">
|
---|
105 | <annotation>
|
---|
106 | <documentation>
|
---|
107 | This element is a two column table without a header or footer.
|
---|
108 | The first column contains the item being defined, the second column
|
---|
109 | contains the definition of the item.
|
---|
110 | </documentation>
|
---|
111 | <appinfo>
|
---|
112 | <doc:localizable>n/a</doc:localizable>
|
---|
113 | <doc:type>structure</doc:type>
|
---|
114 | </appinfo>
|
---|
115 | </annotation>
|
---|
116 | </element>
|
---|
117 |
|
---|
118 | <group name="structureGroup">
|
---|
119 | <choice>
|
---|
120 | <group ref="maml:blockGroup"/>
|
---|
121 | <group ref="maml:structureListGroup"/>
|
---|
122 | <element ref="maml:definitionTable"/>
|
---|
123 | <element ref="maml:table"/>
|
---|
124 | <element ref="maml:procedure"/>
|
---|
125 | <group ref="maml:structureMediaGroup"/>
|
---|
126 | </choice>
|
---|
127 | </group>
|
---|
128 |
|
---|
129 | <group name="structureBasicGroup">
|
---|
130 | <choice>
|
---|
131 | <group ref="maml:blockGroup"/>
|
---|
132 | <group ref="maml:structureListGroup"/>
|
---|
133 | </choice>
|
---|
134 | </group>
|
---|
135 |
|
---|
136 | <group name="structureSimpleGroup">
|
---|
137 | <choice>
|
---|
138 | <element ref="maml:para"/>
|
---|
139 | <element ref="maml:list"/>
|
---|
140 | </choice>
|
---|
141 | </group>
|
---|
142 | </schema>
|
---|