1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!-- ============================================================= -->
|
---|
3 | <!-- HEADER -->
|
---|
4 | <!-- ============================================================= -->
|
---|
5 | <!-- ============================================================= -->
|
---|
6 | <!-- MODULE: DITA MAP XSD -->
|
---|
7 | <!-- VERSION: 1.2 -->
|
---|
8 | <!-- DATE: November 2009 -->
|
---|
9 | <!-- -->
|
---|
10 | <!-- ============================================================= -->
|
---|
11 |
|
---|
12 | <!-- ============================================================= -->
|
---|
13 | <!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
|
---|
14 | <!-- -->
|
---|
15 | <!-- PURPOSE: W3C XML Schema to describe DITA maps with base functionality -->
|
---|
16 | <!-- -->
|
---|
17 | <!-- ORIGINAL CREATION DATE: -->
|
---|
18 | <!-- April 2010 -->
|
---|
19 | <!-- -->
|
---|
20 | <!-- (C) Copyright OASIS-Open.org 2010 -->
|
---|
21 | <!-- All Rights Reserved. -->
|
---|
22 | <!-- -->
|
---|
23 | <!-- ============================================================= -->
|
---|
24 |
|
---|
25 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/">
|
---|
26 | <!-- ======= INCLUDE ======= -->
|
---|
27 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:mapGroupMod.xsd:1.2" />
|
---|
28 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:indexingDomain.xsd:1.2" />
|
---|
29 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:delayResolutionDomain.xsd:1.2" />
|
---|
30 | <!-- base domains -->
|
---|
31 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:highlightDomain.xsd:1.2"/>
|
---|
32 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:utilitiesDomain.xsd:1.2"/>
|
---|
33 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:hazardstatementDomain.xsd:1.2"/>
|
---|
34 |
|
---|
35 |
|
---|
36 | <!-- ================ GROUP DEFINITIONS ===================== -->
|
---|
37 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclGrp.xsd:1.2">
|
---|
38 | <xs:group name="keywords">
|
---|
39 | <xs:choice>
|
---|
40 | <xs:group ref="keywords"/>
|
---|
41 | <xs:group ref="delay-d-keywords" />
|
---|
42 | </xs:choice>
|
---|
43 | </xs:group>
|
---|
44 | </xs:redefine>
|
---|
45 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclGrp.xsd:1.2"/>
|
---|
46 |
|
---|
47 | <!-- ================= MODULE INLCUDE DEFINITION ================== -->
|
---|
48 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementMod.xsd:1.2"/>
|
---|
49 | <!-- ======== Table elements ======== -->
|
---|
50 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclMod.xsd:1.2"/>
|
---|
51 | <!-- ======= MetaData elements, plus keyword and indexterm ======= -->
|
---|
52 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclMod.xsd:1.2"/>
|
---|
53 |
|
---|
54 |
|
---|
55 |
|
---|
56 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:mapGrp.xsd:1.2">
|
---|
57 | <xs:group name="topicref">
|
---|
58 | <xs:choice>
|
---|
59 | <xs:group ref="topicref"/>
|
---|
60 | <xs:group ref="mapgroup-d-topicref"/>
|
---|
61 | </xs:choice>
|
---|
62 | </xs:group>
|
---|
63 | </xs:redefine>
|
---|
64 |
|
---|
65 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementGrp.xsd:1.2">
|
---|
66 |
|
---|
67 | <xs:group name="index-base">
|
---|
68 | <xs:choice>
|
---|
69 | <xs:group ref="index-base"/>
|
---|
70 | <xs:group ref="indexing-d-index-base"/>
|
---|
71 | </xs:choice>
|
---|
72 | </xs:group>
|
---|
73 |
|
---|
74 | <xs:group name="ph">
|
---|
75 | <xs:choice>
|
---|
76 | <xs:group ref="ph"/>
|
---|
77 | <xs:group ref="hi-d-ph" />
|
---|
78 | </xs:choice>
|
---|
79 | </xs:group>
|
---|
80 |
|
---|
81 |
|
---|
82 | <xs:group name="fig">
|
---|
83 | <xs:choice>
|
---|
84 | <xs:group ref="fig"/>
|
---|
85 | <xs:group ref="ut-d-fig" />
|
---|
86 | </xs:choice>
|
---|
87 | </xs:group >
|
---|
88 |
|
---|
89 | <xs:group name="note">
|
---|
90 | <xs:choice>
|
---|
91 | <xs:group ref="note"/>
|
---|
92 | <xs:group ref="hazard-d-note"/>
|
---|
93 | </xs:choice>
|
---|
94 | </xs:group >
|
---|
95 |
|
---|
96 | </xs:redefine>
|
---|
97 |
|
---|
98 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:mapMod.xsd:1.2" />
|
---|
99 |
|
---|
100 | <xs:attributeGroup name="domains-att">
|
---|
101 | <xs:attribute name="domains" type="xs:string"
|
---|
102 | default="(map mapgroup-d)
|
---|
103 | (topic delay-d)
|
---|
104 | (topic hazard-d)
|
---|
105 | (topic hi-d)
|
---|
106 | (topic indexing-d)
|
---|
107 | (topic ut-d)"/>
|
---|
108 | </xs:attributeGroup>
|
---|
109 |
|
---|
110 | </xs:schema>
|
---|