1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <?xml-model href =" urn:pubid:example.com:dita:rng:checkShell.sch" schematypens =" http://purl.oclc.org/dsdl/schematron" ?>
3
- <?xml-model href =" urn:pubid:example.com:dita:rng:vocabularyModuleDesc.rng"
4
- schematypens =" http://relaxng.org/ns/structure/1.0" ?>
5
- <grammar xmlns =" http://relaxng.org/ns/structure/1.0"
6
- xmlns : dita =" http://dita.oasis-open.org/architecture/2005/"
7
- xmlns : a =" http://relaxng.org/ns/compatibility/annotations/1.0" >
8
- <moduleDesc xmlns =" http://dita.oasis-open.org/architecture/2005/" >
9
- <moduleTitle >DITA BASE</moduleTitle >
10
- <headerComment xml : space =" preserve" ><![CDATA[
11
- =============================================================
12
- HEADER
13
- =============================================================
14
- Local shell for example.com
15
-
16
- Ditabase
17
- =============================================================
18
-
19
- ]]> </headerComment >
20
- <moduleMetadata >
21
- <moduleType >topicshell</moduleType >
22
- <moduleShortName >ditabase</moduleShortName >
23
- <shellPublicIds >
24
- <dtdShell >-//EXAMPLE.COM//DTD DITA Composite//EN</dtdShell >
25
- <rncShell >urn:pubid:example.com:dita:rnc:ditabase.rnc</rncShell >
26
- <rngShell >urn:pubid:example.com:dita:rng:ditabase.rng</rngShell >
27
- <xsdShell >urn:pubid:example.com:dita:xsd:ditabase.xsd</xsdShell >
28
- </shellPublicIds >
29
- </moduleMetadata >
30
- </moduleDesc >
31
- <div >
32
- <a : documentation >ROOT ELEMENT DECLARATION</a : documentation >
33
- <start >
34
- <ref name =" dita.element" />
35
- </start >
36
-
37
- </div >
38
- <div >
39
- <a : documentation >DOMAINS ATTRIBUTE</a : documentation >
40
- <define name =" domains-att" combine =" interleave" >
41
- <optional >
42
- <attribute name =" domains"
43
- a : defaultValue =" (topic abbrev-d)
44
- (topic concept glossentry)
45
- (topic concept glossgroup)
46
- (topic concept)
47
- (topic equation-d)
48
- (topic hazard-d)
49
- (topic hi-d)
50
- (topic indexing-d)
51
- (topic markup-d xml-d)
52
- (topic markup-d)
53
- (topic mathml-d)
54
- (topic pr-d)
55
- (topic reference)
56
- (topic relmgmt-d)
57
- (topic svg-d)
58
- (topic sw-d)
59
- (topic task strictTaskbody-c)
60
- (topic task)
61
- (topic troubleshooting++task)
62
- (topic ui-d)
63
- (topic ut-d)
64
- a(props deliveryTarget)" />
65
- </optional >
66
- </define >
67
- </div >
68
- <div >
69
- <a : documentation >MODULE INCLUSIONS</a : documentation >
70
- <div >
71
- <include href =" urn:oasis:names:tc:dita:rng:strictTaskbodyConstraintMod.rng" />
72
- </div >
73
- <include href =" urn:oasis:names:tc:dita:rng:topicMod.rng" >
74
- <define name =" info-types" >
75
- <choice >
76
- <ref name =" topic.element" />
77
- <ref name =" concept.element" />
78
- <ref name =" task.element" />
79
- <ref name =" troubleshooting.element" />
80
- <ref name =" reference.element" />
81
- <ref name =" glossentry.element" />
82
- <ref name =" glossgroup.element" />
83
- </choice >
84
- </define >
85
- </include >
86
- <include href =" urn:oasis:names:tc:dita:rng:conceptMod.rng" />
87
- <include href =" urn:oasis:names:tc:dita:rng:glossentryMod.rng" />
88
- <include href =" urn:oasis:names:tc:dita:rng:glossgroupMod.rng" />
89
- <include href =" urn:oasis:names:tc:dita:rng:referenceMod.rng" />
90
- <include href =" urn:oasis:names:tc:dita:rng:troubleshootingMod.rng" />
91
-
92
- <include href =" urn:oasis:names:tc:dita:rng:abbreviateDomain.rng" />
93
- <include href =" urn:oasis:names:tc:dita:rng:deliveryTargetAttDomain.rng" />
94
- <include href =" urn:oasis:names:tc:dita:rng:equationDomain.rng" />
95
- <include href =" urn:oasis:names:tc:dita:rng:hazardDomain.rng" />
96
- <include href =" urn:oasis:names:tc:dita:rng:highlightDomain.rng" />
97
- <include href =" urn:oasis:names:tc:dita:rng:indexingDomain.rng" />
98
- <include href =" urn:oasis:names:tc:dita:rng:markupDomain.rng" />
99
- <include href =" urn:oasis:names:tc:dita:rng:mathmlDomain.rng" />
100
- <include href =" urn:oasis:names:tc:dita:rng:programmingDomain.rng" />
101
- <include href =" urn:oasis:names:tc:dita:rng:releaseManagementDomain.rng" />
102
- <include href =" urn:oasis:names:tc:dita:rng:softwareDomain.rng" />
103
- <include href =" urn:oasis:names:tc:dita:rng:svgDomain.rng" />
104
- <include href =" urn:oasis:names:tc:dita:rng:uiDomain.rng" />
105
- <include href =" urn:oasis:names:tc:dita:rng:utilitiesDomain.rng" />
106
- <include href =" urn:oasis:names:tc:dita:rng:xmlDomain.rng" />
107
- </div >
108
- <div >
109
- <a : documentation >Define a containment for topics for editor support </a : documentation >
110
- <define name =" dita.element" >
111
- <element name =" dita" >
112
- <a : documentation >The < dita> element provides a top-level container for multiple topics when you create documents using the ditabase document type. The < dita> element lets you create any
113
- sequence of concept, task, and reference topics, and the ditabase document type lets you further nest these topic types inside each other. The < dita> element has no particular output
114
- implications; it simply allows you to create multiple topics of different types at the same level in a single document. Category: Ditabase document type</a : documentation >
115
- <ref name =" dita.attlist" />
116
- <oneOrMore >
117
- <ref name =" info-types" />
118
- </oneOrMore >
119
- </element >
120
- </define >
121
-
122
- <define name =" dita.attlist" combine =" interleave" >
123
- <ref name =" arch-atts" />
124
- <ref name =" localization-atts" dita : since =" DITA 1.3" />
125
- <ref name =" global-atts" />
126
- </define >
127
-
128
- </div >
129
- <div >
130
- <a : documentation >ID-DEFINING-ELEMENT OVERRIDES</a : documentation >
131
- <define name =" any" >
132
- <zeroOrMore >
133
- <choice >
134
- <ref name =" idElements" />
135
- <element >
136
- <anyName >
137
- <except >
138
- <name >topic</name >
139
- <name >concept</name >
140
- <name >glossgroup</name >
141
- <name >glossentry</name >
142
- <name >reference</name >
143
- <name >task</name >
144
- <name >troubleshooting</name >
145
- <nsName ns =" http://www.w3.org/2000/svg" />
146
- <nsName ns =" http://www.w3.org/1998/Math/MathML" />
147
- </except >
148
- </anyName >
149
- <zeroOrMore >
150
- <attribute >
151
- <anyName />
152
- </attribute >
153
- </zeroOrMore >
154
- <ref name =" any" />
155
- </element >
156
- <text />
157
- </choice >
158
- </zeroOrMore >
159
- </define >
160
- </div >
161
- </grammar >
2
+ <?xml-model href =" urn:pubid:example.com:dita:rng:ditabase.rng" type =" application/xml" schematypens =" http://relaxng.org/ns/structure/1.0" ?>
3
+ <dita >
4
+ <concept id =" concept-in-ditabase" >
5
+ <title >This is a concept in a ditabase document.</title >
6
+ </concept >
7
+ <task id =" task-in-ditabase" >
8
+ <title >This is a task in a ditabase document.</title >
9
+ </task >
10
+ </dita >
0 commit comments