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 question and answer types for the CS Schema.
|
---|
14 | This schema is part of the base layer.
|
---|
15 | </documentation>
|
---|
16 | </annotation>
|
---|
17 |
|
---|
18 | <include schemaLocation="structure.xsd"/>
|
---|
19 |
|
---|
20 | <!-- element declarations -->
|
---|
21 | <element name="glossary">
|
---|
22 | <annotation>
|
---|
23 | <documentation>
|
---|
24 | The glossary element describes a set of terms and their definitions.
|
---|
25 | </documentation>
|
---|
26 | <appinfo><doc:localizable>n/a</doc:localizable></appinfo>
|
---|
27 | </annotation>
|
---|
28 | <complexType>
|
---|
29 | <sequence>
|
---|
30 | <element ref="maml:title"/>
|
---|
31 | <choice>
|
---|
32 | <element ref="maml:glossaryDiv" maxOccurs="unbounded"/>
|
---|
33 | <element ref="maml:glossaryEntry" maxOccurs="unbounded"/>
|
---|
34 | </choice>
|
---|
35 | </sequence>
|
---|
36 | <attribute name="contentType" type="token"/>
|
---|
37 | <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
|
---|
38 | </complexType>
|
---|
39 | </element>
|
---|
40 |
|
---|
41 | <element name="glossaryDiv">
|
---|
42 | <annotation>
|
---|
43 | <documentation>The glossaryDiv element describes a titled division within a glossary.</documentation>
|
---|
44 | <appinfo><doc:localizable>n/a</doc:localizable></appinfo>
|
---|
45 | </annotation>
|
---|
46 | <complexType>
|
---|
47 | <sequence>
|
---|
48 | <element ref="maml:title"/>
|
---|
49 | <element ref="maml:glossaryEntry" maxOccurs="unbounded"/>
|
---|
50 | </sequence>
|
---|
51 | <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
|
---|
52 | <attribute name="class" type="string"/>
|
---|
53 | </complexType>
|
---|
54 | </element>
|
---|
55 |
|
---|
56 | <element name="glossaryEntry">
|
---|
57 | <annotation>
|
---|
58 | <documentation>The glossaryEntry is a single definition in the glossary with a set of terms attached.</documentation>
|
---|
59 | <appinfo><doc:localizable>n/a</doc:localizable></appinfo>
|
---|
60 | </annotation>
|
---|
61 | <complexType>
|
---|
62 | <sequence>
|
---|
63 | <element ref="maml:terms"/>
|
---|
64 | <element ref="maml:definition"/>
|
---|
65 | <element name="relatedEntry" minOccurs="0" maxOccurs="unbounded">
|
---|
66 | <annotation>
|
---|
67 | <appinfo><doc:localizable>n/a</doc:localizable></appinfo>
|
---|
68 | </annotation>
|
---|
69 | <complexType>
|
---|
70 | <attribute name="termId" type="token" use="required"/>
|
---|
71 | <attribute name="relationType" type="string" use="required"/>
|
---|
72 | </complexType>
|
---|
73 | </element>
|
---|
74 | </sequence>
|
---|
75 | <attributeGroup ref="maml:contentIdentificationSharingAndConditionGroup"/>
|
---|
76 | <attribute name="platform" type="string" use="optional"/>
|
---|
77 | <attribute name="product" type="string" use="optional"/>
|
---|
78 | </complexType>
|
---|
79 | </element>
|
---|
80 |
|
---|
81 | <element name="terms">
|
---|
82 | <annotation>
|
---|
83 | <documentation>The various terms that are associated with this entry. Each term has attributes to specify its use and other idenitfying attributes</documentation>
|
---|
84 | <appinfo><doc:localizable>n/a</doc:localizable></appinfo>
|
---|
85 | </annotation>
|
---|
86 | <complexType>
|
---|
87 | <sequence maxOccurs="unbounded">
|
---|
88 | <element name="term">
|
---|
89 | <annotation>
|
---|
90 | <appinfo><doc:localizable>true</doc:localizable></appinfo>
|
---|
91 | </annotation>
|
---|
92 | <complexType mixed="true">
|
---|
93 | <attribute name="termClass" type="string" use="required"/>
|
---|
94 | <attribute name="partOfSpeech" type="string" use="optional" default="noun"/>
|
---|
95 | <attribute name="geographicalUsage" type="string" use="optional"/>
|
---|
96 | <attribute name="language" type="string" use="optional"/>
|
---|
97 | </complexType>
|
---|
98 | </element>
|
---|
99 | </sequence>
|
---|
100 | </complexType>
|
---|
101 | </element>
|
---|
102 |
|
---|
103 | </schema>
|
---|