1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!-- ============================================================= -->
|
---|
3 | <!-- HEADER -->
|
---|
4 | <!-- ============================================================= -->
|
---|
5 | <!-- MODULE: DITA Topic XSD -->
|
---|
6 | <!-- VERSION: 1.1 -->
|
---|
7 | <!-- DATE: November 2006 -->
|
---|
8 | <!-- -->
|
---|
9 | <!-- ============================================================= -->
|
---|
10 |
|
---|
11 |
|
---|
12 | <!-- ============================================================= -->
|
---|
13 | <!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
|
---|
14 | <!-- -->
|
---|
15 | <!-- PURPOSE: W3C XML Schema to describe DITA Topics -->
|
---|
16 | <!-- -->
|
---|
17 | <!-- ORIGINAL CREATION DATE: -->
|
---|
18 | <!-- March 2001 -->
|
---|
19 | <!-- -->
|
---|
20 | <!-- (C) Copyright OASIS-Open.org 2005, 2006 -->
|
---|
21 | <!-- (C) Copyright IBM Corporation 2001, 2004. -->
|
---|
22 | <!-- All Rights Reserved. -->
|
---|
23 | <!-- ============================================================= -->
|
---|
24 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/">
|
---|
25 |
|
---|
26 | <!-- Add the domains to the base topic XML Schema -->
|
---|
27 | <!-- ================ TOPIC DOMAINS ===================== -->
|
---|
28 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:uiDomain.xsd:1.1"/>
|
---|
29 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:softwareDomain.xsd:1.1"/>
|
---|
30 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:highlightDomain.xsd:1.1"/>
|
---|
31 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:programmingDomain.xsd:1.1"/>
|
---|
32 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:utilitiesDomain.xsd:1.1"/>
|
---|
33 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:indexingDomain.xsd:1.1"/>
|
---|
34 |
|
---|
35 | <!-- ================ GROUP DEFINITIONS ===================== -->
|
---|
36 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclGrp.xsd:1.1"/>
|
---|
37 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclGrp.xsd:1.1"/>
|
---|
38 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:topicGrp.xsd:1.1"/>
|
---|
39 |
|
---|
40 | <!-- ================= MODULE INLCUDE DEFINITION ================== -->
|
---|
41 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementMod.xsd:1.1"/>
|
---|
42 | <!-- ======== Table elements ======== -->
|
---|
43 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclMod.xsd:1.1"/>
|
---|
44 | <!-- ======= MetaData elements, plus keyword and indexterm ======= -->
|
---|
45 | <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclMod.xsd:1.1"/>
|
---|
46 |
|
---|
47 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementGrp.xsd:1.1">
|
---|
48 | <xs:group name="keyword">
|
---|
49 | <xs:choice>
|
---|
50 | <xs:group ref="keyword"/>
|
---|
51 | <xs:group ref="pr-d-keyword" />
|
---|
52 | <xs:group ref="ui-d-keyword" />
|
---|
53 | <xs:group ref="sw-d-keyword" />
|
---|
54 | </xs:choice>
|
---|
55 | </xs:group>
|
---|
56 |
|
---|
57 | <xs:group name="ph">
|
---|
58 | <xs:choice>
|
---|
59 | <xs:group ref="ph"/>
|
---|
60 | <xs:group ref="pr-d-ph" />
|
---|
61 | <xs:group ref="ui-d-ph" />
|
---|
62 | <xs:group ref="hi-d-ph" />
|
---|
63 | <xs:group ref="sw-d-ph" />
|
---|
64 | </xs:choice>
|
---|
65 | </xs:group>
|
---|
66 |
|
---|
67 | <xs:group name="pre">
|
---|
68 | <xs:choice>
|
---|
69 | <xs:group ref="pre"/>
|
---|
70 | <xs:group ref="pr-d-pre" />
|
---|
71 | <xs:group ref="ui-d-pre" />
|
---|
72 | <xs:group ref="sw-d-pre" />
|
---|
73 | </xs:choice>
|
---|
74 | </xs:group>
|
---|
75 |
|
---|
76 |
|
---|
77 | <xs:group name="dl">
|
---|
78 | <xs:choice>
|
---|
79 | <xs:group ref="dl"/>
|
---|
80 | <xs:group ref="pr-d-dl"/>
|
---|
81 | </xs:choice >
|
---|
82 | </xs:group >
|
---|
83 |
|
---|
84 |
|
---|
85 | <xs:group name="fig">
|
---|
86 | <xs:choice>
|
---|
87 | <xs:group ref="fig"/>
|
---|
88 | <xs:group ref="pr-d-fig"/>
|
---|
89 | <xs:group ref="ut-d-fig" />
|
---|
90 | </xs:choice>
|
---|
91 | </xs:group >
|
---|
92 |
|
---|
93 | <xs:group name="index-base">
|
---|
94 | <xs:choice>
|
---|
95 | <xs:group ref="index-base"/>
|
---|
96 | <xs:group ref="indexing-d-index-base"/>
|
---|
97 | </xs:choice>
|
---|
98 | </xs:group >
|
---|
99 |
|
---|
100 | </xs:redefine>
|
---|
101 |
|
---|
102 |
|
---|
103 | <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:topicMod.xsd:1.1">
|
---|
104 | <xs:complexType name="topic.class">
|
---|
105 | <xs:complexContent>
|
---|
106 | <xs:extension base="topic.class">
|
---|
107 | <xs:attribute name="domains" type="xs:string" default="(topic ui-d) (topic hi-d) (topic sw-d) (topic pr-d) (topic ut-d) (topic indexing-d)"/>
|
---|
108 | </xs:extension>
|
---|
109 | </xs:complexContent>
|
---|
110 | </xs:complexType>
|
---|
111 | </xs:redefine>
|
---|
112 |
|
---|
113 | <xs:group name="info-types">
|
---|
114 | <xs:sequence/>
|
---|
115 | </xs:group>
|
---|
116 |
|
---|
117 | </xs:schema>
|
---|