1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!-- ============================================================= -->
|
---|
3 | <!-- HEADER -->
|
---|
4 | <!-- ============================================================= -->
|
---|
5 | <!-- MODULE: DITA Topic XSD -->
|
---|
6 | <!-- VERSION: 1.2 -->
|
---|
7 | <!-- DATE: November 2009 -->
|
---|
8 | <!-- -->
|
---|
9 | <!-- ============================================================= -->
|
---|
10 |
|
---|
11 |
|
---|
12 | <!-- ============================================================= -->
|
---|
13 | <!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
|
---|
14 | <!-- -->
|
---|
15 | <!-- PURPOSE: W3C XML Schema to describe DITA Topics 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 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/">
|
---|
24 |
|
---|
25 | <!-- Add the domains to the base topic XML Schema -->
|
---|
26 | <!-- ================ TOPIC DOMAINS ===================== -->
|
---|
27 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:highlightDomain.xsd:1.2"/>
|
---|
28 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:utilitiesDomain.xsd:1.2"/>
|
---|
29 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:indexingDomain.xsd:1.2"/>
|
---|
30 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:hazardstatementDomain.xsd:1.2"/>
|
---|
31 |
|
---|
32 |
|
---|
33 | <!-- ================ GROUP DEFINITIONS ===================== -->
|
---|
34 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclGrp.xsd:1.2"/>
|
---|
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 |
|
---|
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="index-base">
|
---|
63 | <xs:choice>
|
---|
64 | <xs:group ref="index-base"/>
|
---|
65 | <xs:group ref="indexing-d-index-base"/>
|
---|
66 | </xs:choice>
|
---|
67 | </xs:group >
|
---|
68 |
|
---|
69 | <xs:group name="note">
|
---|
70 | <xs:choice>
|
---|
71 | <xs:group ref="note"/>
|
---|
72 | <xs:group ref="hazard-d-note"/>
|
---|
73 | </xs:choice>
|
---|
74 | </xs:group >
|
---|
75 |
|
---|
76 | </xs:redefine>
|
---|
77 |
|
---|
78 |
|
---|
79 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:topicMod.xsd:1.2"/>
|
---|
80 |
|
---|
81 |
|
---|
82 | <xs:group name="info-types">
|
---|
83 | <xs:sequence/>
|
---|
84 | </xs:group>
|
---|
85 |
|
---|
86 | <xs:attributeGroup name="domains-att">
|
---|
87 | <xs:attribute name="domains" type="xs:string"
|
---|
88 | default="(topic hazard-d)
|
---|
89 | (topic hi-d)
|
---|
90 | (topic indexing-d)
|
---|
91 | (topic ut-d)
|
---|
92 | "/>
|
---|
93 | </xs:attributeGroup>
|
---|
94 |
|
---|
95 | </xs:schema>
|
---|