1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!-- This file is part of the DITA learning and training content
|
---|
3 | specialization working design. It is a work-in-progress by
|
---|
4 | the OASIS DITA learning and training content specialization
|
---|
5 | sub-committee.-->
|
---|
6 | <!-- (C) Copyright OASIS Open 2007, 2009 -->
|
---|
7 | <!-- All Rights Reserved. -->
|
---|
8 | <!-- ============================================================= -->
|
---|
9 | <!-- HEADER -->
|
---|
10 | <!-- ============================================================= -->
|
---|
11 | <!-- MODULE: DITA learningAssessment XSD -->
|
---|
12 | <!-- VERSION: 0.1 -->
|
---|
13 | <!-- DATE: May 2007 -->
|
---|
14 | <!-- -->
|
---|
15 | <!-- ============================================================= -->
|
---|
16 | <!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
|
---|
17 | <!-- -->
|
---|
18 | <!-- PURPOSE: W3C XML Schema to describe DITA Learning Base -->
|
---|
19 | <!-- -->
|
---|
20 | <!-- ORIGINAL CREATION DATE: -->
|
---|
21 | <!-- May 2007 -->
|
---|
22 | <!-- -->
|
---|
23 | <!-- UPDATES: -->
|
---|
24 | <!-- ============================================================= -->
|
---|
25 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
---|
26 | <!-- Add the domains to the base topic XML Schema -->
|
---|
27 | <!-- ================ TOPIC DOMAINS ===================== -->
|
---|
28 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:highlightDomain.xsd:1.2"/>
|
---|
29 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:utilitiesDomain.xsd:1.2"/>
|
---|
30 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:indexingDomain.xsd:1.2"/>
|
---|
31 | <xs:include schemaLocation="urn:oasis:names:tc:dita:spec:learning:xsd:learningDomain.xsd:1.2"/>
|
---|
32 | <xs:include schemaLocation="urn:oasis:names:tc:dita:spec:learning:xsd:learningMetadataDomain.xsd:1.2"/>
|
---|
33 |
|
---|
34 | <!-- ================ GROUP DEFINITIONS ===================== -->
|
---|
35 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclGrp.xsd:1.2"/>
|
---|
36 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:topicGrp.xsd:1.2"/>
|
---|
37 |
|
---|
38 | <!-- ================= MODULE INLCUDE DEFINITION ================== -->
|
---|
39 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementMod.xsd:1.2"/>
|
---|
40 | <!-- ======== Table elements ======== -->
|
---|
41 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclMod.xsd:1.2"/>
|
---|
42 | <!-- ======= MetaData elements, plus keyword and indexterm ======= -->
|
---|
43 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclMod.xsd:1.2"/>
|
---|
44 |
|
---|
45 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementGrp.xsd:1.2">
|
---|
46 | <xs:group name="ph">
|
---|
47 | <xs:choice>
|
---|
48 | <xs:group ref="ph"/>
|
---|
49 | <xs:group ref="hi-d-ph"/>
|
---|
50 | </xs:choice>
|
---|
51 | </xs:group>
|
---|
52 |
|
---|
53 | <xs:group name="fig">
|
---|
54 | <xs:choice>
|
---|
55 | <xs:group ref="fig"/>
|
---|
56 | <xs:group ref="ut-d-fig"/>
|
---|
57 | </xs:choice>
|
---|
58 | </xs:group>
|
---|
59 |
|
---|
60 | <xs:group name="index-base">
|
---|
61 | <xs:choice>
|
---|
62 | <xs:group ref="index-base"/>
|
---|
63 | <xs:group ref="indexing-d-index-base"/>
|
---|
64 | </xs:choice>
|
---|
65 | </xs:group>
|
---|
66 | <xs:group name="note">
|
---|
67 | <xs:choice>
|
---|
68 | <xs:group ref="note"/>
|
---|
69 | <xs:group ref="learning-d-note"/>
|
---|
70 | </xs:choice>
|
---|
71 | </xs:group>
|
---|
72 | </xs:redefine>
|
---|
73 |
|
---|
74 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclGrp.xsd:1.2">
|
---|
75 | <xs:group name="metadata">
|
---|
76 | <xs:choice>
|
---|
77 | <xs:group ref="metadata"/>
|
---|
78 | <xs:group ref="learningmeta-d-metadata"/>
|
---|
79 | </xs:choice>
|
---|
80 | </xs:group>
|
---|
81 | </xs:redefine>
|
---|
82 |
|
---|
83 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:spec:learning:xsd:learningInteractionBaseDomain.xsd:1.2">
|
---|
84 | <xs:group name="lcInteractionBase">
|
---|
85 | <xs:choice>
|
---|
86 | <xs:group ref="lcInteractionBase"/>
|
---|
87 | <xs:group ref="learning-d-lcInteractionBase"/>
|
---|
88 | </xs:choice>
|
---|
89 | </xs:group>
|
---|
90 | </xs:redefine>
|
---|
91 | <!-- ================ INFO TYPES ===================== -->
|
---|
92 | <xs:include schemaLocation="urn:oasis:names:tc:dita:spec:learning:xsd:learningAssessmentGrp.xsd:1.2"/>
|
---|
93 | <xs:include schemaLocation="urn:oasis:names:tc:dita:spec:learning:xsd:learningBaseGrp.xsd:1.2"/>
|
---|
94 | <xs:include schemaLocation="urn:oasis:names:tc:dita:spec:learning:xsd:learningBaseMod.xsd:1.2"/>
|
---|
95 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:topicMod.xsd:1.2"/>
|
---|
96 | <xs:include schemaLocation="urn:oasis:names:tc:dita:spec:learning:xsd:learningAssessmentMod.xsd:1.2"/>
|
---|
97 |
|
---|
98 |
|
---|
99 | <xs:group name="info-types">
|
---|
100 | <xs:sequence/>
|
---|
101 | </xs:group>
|
---|
102 |
|
---|
103 | <xs:attributeGroup name="domains-att">
|
---|
104 | <xs:attribute name="domains" type="xs:string"
|
---|
105 | default="(topic hi-d)
|
---|
106 | (topic indexing-d)
|
---|
107 | (topic ut-d)
|
---|
108 | (topic learningmeta-d)
|
---|
109 | (topic learningInteractionBase-d learning-d)
|
---|
110 | (topic learningBase+learningInteractionBase-d)
|
---|
111 | (topic learningBase+learningInteractionBase-d learningAssessment)" />
|
---|
112 | </xs:attributeGroup>
|
---|
113 | </xs:schema>
|
---|