Debian Codegraph @

schema/subjectScheme/xsd/subjectScheme.xsd

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- ============================================================= -->
3 <!-- HEADER -->
4 <!-- ============================================================= -->
5 <!-- MODULE: DITA Subject Scheme Map XSD -->
6 <!-- VERSION: 1.2 -->
7 <!-- DATE: February 2009 -->
8 <!---->
9 <!-- ============================================================= -->
10
11 <!-- ============================================================= -->
12 <!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
13 <!---->
14 <!-- PURPOSE: XSD to describe DITA Subject Scheme maps -->
15 <!---->
16 <!-- ORIGINAL CREATION DATE: -->
17 <!-- February 2009 -->
18 <!---->
19 <!-- (C) Copyright OASIS Open 2009. -->
20 <!-- (C) Copyright IBM Corporation 2005, 2007. -->
21 <!-- All Rights Reserved. -->
22 <!---->
23 <!-- UPDATES: -->
24 <!-- ============================================================= -->
25
26 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/">
27 <!-- Map domains -->
28 <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:mapGroupMod.xsd:1.2" />
29 <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclGrp.xsd:1.2"/>
30
31 <!-- base domains -->
32 <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:highlightDomain.xsd:1.2"/>
33 <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:utilitiesDomain.xsd:1.2"/>
34 <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:hazardstatementDomain.xsd:1.2"/>
35
36 <!-- ================= MODULE INLCUDE DEFINITION ================== -->
37 <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementMod.xsd:1.2"/>
38 <!-- ======== Table elements ======== -->
39 <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclMod.xsd:1.2"/>
40 <!-- ======= MetaData elements, plus keyword and indexterm ======= -->
41 <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclMod.xsd:1.2"/>
42
43 <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclGrp.xsd:1.2"/>
44
45 <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementGrp.xsd:1.2">
46
47 <xs:group name="ph">
48 <xs:choice>
49 <xs:group ref="ph"/>
50 <xs:group ref="hi-d-ph" />
51 </xs:choice>
52 </xs:group>
53
54
55 <xs:group name="fig">
56 <xs:choice>
57 <xs:group ref="fig"/>
58 <xs:group ref="ut-d-fig" />
59 </xs:choice>
60 </xs:group >
61
62 <xs:group name="note">
63 <xs:choice>
64 <xs:group ref="note"/>
65 <xs:group ref="hazard-d-note"/>
66 </xs:choice>
67 </xs:group >
68
69 </xs:redefine>
70
71 <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:mapGrp.xsd:1.2">
72 <xs:group name="topicref">
73 <xs:choice>
74 <xs:group ref="topicref"/>
75 <xs:group ref="mapgroup-d-topicref"/>
76 </xs:choice>
77 </xs:group>
78 </xs:redefine>
79
80 <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:mapMod.xsd:1.2" />
81 <xs:include schemaLocation="urn:oasis:names:tc:dita:spec:classification:xsd:subjectSchemeMod.xsd:1.2" />
82 <xs:include schemaLocation="urn:oasis:names:tc:dita:spec:classification:xsd:subjectSchemeGrp.xsd:1.2" />
83
84 <xs:attributeGroup name="domains-att">
85 <xs:attribute name="domains" type="xs:string"
86 default="(map mapgroup-d)
87 (map subjectScheme)
88 (topic hazard-d)
89 (topic hi-d)
90 (topic ut-d)"/>
91 </xs:attributeGroup>
92
93 </xs:schema>
94 <!-- ================== End DITA Subject Scheme Map XSD ========= -->