1
<!-- ....................................................................... -->
2
<!-- SVG 1.1 Structure Module .............................................. -->
3
<!-- file: svg-structure.mod
5
This is SVG, a language for describing two-dimensional graphics in XML.
6
Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
7
Revision: $Id: svg-structure.mod,v 1.5 2002/11/14 15:11:03 fujisawa Exp $
9
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
11
PUBLIC "-//W3C//ELEMENTS SVG 1.1 Structure//EN"
12
SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-structure.mod"
14
....................................................................... -->
18
svg, g, defs, desc, title, metadata, symbol, use
20
This module declares the major structural elements and their attributes.
23
<!-- Qualified Names (Default) ......................... -->
25
<!ENTITY % SVG.svg.qname "svg" >
26
<!ENTITY % SVG.g.qname "g" >
27
<!ENTITY % SVG.defs.qname "defs" >
28
<!ENTITY % SVG.desc.qname "desc" >
29
<!ENTITY % SVG.title.qname "title" >
30
<!ENTITY % SVG.metadata.qname "metadata" >
31
<!ENTITY % SVG.symbol.qname "symbol" >
32
<!ENTITY % SVG.use.qname "use" >
34
<!-- Attribute Collections (Default) ................... -->
36
<!ENTITY % SVG.Core.attrib "" >
37
<!ENTITY % SVG.Container.attrib "" >
38
<!ENTITY % SVG.Conditional.attrib "" >
39
<!ENTITY % SVG.Style.attrib "" >
40
<!ENTITY % SVG.Viewport.attrib "" >
41
<!ENTITY % SVG.Text.attrib "" >
42
<!ENTITY % SVG.TextContent.attrib "" >
43
<!ENTITY % SVG.Font.attrib "" >
44
<!ENTITY % SVG.Paint.attrib "" >
45
<!ENTITY % SVG.Color.attrib "" >
46
<!ENTITY % SVG.Opacity.attrib "" >
47
<!ENTITY % SVG.Graphics.attrib "" >
48
<!ENTITY % SVG.Marker.attrib "" >
49
<!ENTITY % SVG.ColorProfile.attrib "" >
50
<!ENTITY % SVG.Gradient.attrib "" >
51
<!ENTITY % SVG.Clip.attrib "" >
52
<!ENTITY % SVG.Mask.attrib "" >
53
<!ENTITY % SVG.Filter.attrib "" >
54
<!ENTITY % SVG.FilterColor.attrib "" >
55
<!ENTITY % SVG.DocumentEvents.attrib "" >
56
<!ENTITY % SVG.GraphicalEvents.attrib "" >
57
<!ENTITY % SVG.Cursor.attrib "" >
58
<!ENTITY % SVG.XLinkEmbed.attrib "" >
59
<!ENTITY % SVG.External.attrib "" >
61
<!-- SVG.Description.class ............................. -->
63
<!ENTITY % SVG.Description.extra.class "" >
65
<!ENTITY % SVG.Description.class
66
"%SVG.desc.qname; | %SVG.title.qname; | %SVG.metadata.qname;
67
%SVG.Description.extra.class;"
70
<!-- SVG.Use.class ..................................... -->
72
<!ENTITY % SVG.Use.extra.class "" >
74
<!ENTITY % SVG.Use.class
75
"| %SVG.use.qname; %SVG.Use.extra.class;"
78
<!-- SVG.Structure.class ............................... -->
80
<!ENTITY % SVG.Structure.extra.class "" >
82
<!ENTITY % SVG.Structure.class
83
"| %SVG.svg.qname; | %SVG.g.qname; | %SVG.defs.qname; | %SVG.symbol.qname;
84
%SVG.Use.class; %SVG.Structure.extra.class;"
87
<!-- SVG.Presentation.attrib ........................... -->
89
<!ENTITY % SVG.Presentation.extra.attrib "" >
91
<!ENTITY % SVG.Presentation.attrib
92
"%SVG.Container.attrib;
95
%SVG.TextContent.attrib;
100
%SVG.Graphics.attrib;
102
%SVG.ColorProfile.attrib;
103
%SVG.Gradient.attrib;
107
%SVG.FilterColor.attrib;
109
flood-color %SVGColor.datatype; #IMPLIED
110
flood-opacity %OpacityValue.datatype; #IMPLIED
111
lighting-color %SVGColor.datatype; #IMPLIED
112
%SVG.Presentation.extra.attrib;"
115
<!-- svg: SVG Document Element ......................... -->
117
<!ENTITY % SVG.svg.extra.content "" >
119
<!ENTITY % SVG.svg.element "INCLUDE" >
120
<![%SVG.svg.element;[
121
<!ENTITY % SVG.svg.content
122
"( %SVG.Description.class; | %SVG.Animation.class; %SVG.Structure.class;
123
%SVG.Conditional.class; %SVG.Image.class; %SVG.Style.class;
124
%SVG.Shape.class; %SVG.Text.class; %SVG.Marker.class;
125
%SVG.ColorProfile.class; %SVG.Gradient.class; %SVG.Pattern.class;
126
%SVG.Clip.class; %SVG.Mask.class; %SVG.Filter.class; %SVG.Cursor.class;
127
%SVG.Hyperlink.class; %SVG.View.class; %SVG.Script.class;
128
%SVG.Font.class; %SVG.svg.extra.content; )*"
130
<!ELEMENT %SVG.svg.qname; %SVG.svg.content; >
131
<!-- end of SVG.svg.element -->]]>
133
<!ENTITY % SVG.svg.attlist "INCLUDE" >
134
<![%SVG.svg.attlist;[
135
<!ATTLIST %SVG.svg.qname;
138
%SVG.Conditional.attrib;
140
%SVG.Presentation.attrib;
141
%SVG.DocumentEvents.attrib;
142
%SVG.GraphicalEvents.attrib;
143
%SVG.External.attrib;
144
x %Coordinate.datatype; #IMPLIED
145
y %Coordinate.datatype; #IMPLIED
146
width %Length.datatype; #IMPLIED
147
height %Length.datatype; #IMPLIED
148
viewBox %ViewBoxSpec.datatype; #IMPLIED
149
preserveAspectRatio %PreserveAspectRatioSpec.datatype; 'xMidYMid meet'
150
zoomAndPan ( disable | magnify ) 'magnify'
151
version %Number.datatype; #FIXED '1.1'
152
baseProfile %Text.datatype; #IMPLIED
153
contentScriptType %ContentType.datatype; 'text/ecmascript'
154
contentStyleType %ContentType.datatype; 'text/css'
156
<!-- end of SVG.svg.attlist -->]]>
158
<!-- g: Group Element .................................. -->
160
<!ENTITY % SVG.g.extra.content "" >
162
<!ENTITY % SVG.g.element "INCLUDE" >
164
<!ENTITY % SVG.g.content
165
"( %SVG.Description.class; | %SVG.Animation.class; %SVG.Structure.class;
166
%SVG.Conditional.class; %SVG.Image.class; %SVG.Style.class;
167
%SVG.Shape.class; %SVG.Text.class; %SVG.Marker.class;
168
%SVG.ColorProfile.class; %SVG.Gradient.class; %SVG.Pattern.class;
169
%SVG.Clip.class; %SVG.Mask.class; %SVG.Filter.class; %SVG.Cursor.class;
170
%SVG.Hyperlink.class; %SVG.View.class; %SVG.Script.class;
171
%SVG.Font.class; %SVG.g.extra.content; )*"
173
<!ELEMENT %SVG.g.qname; %SVG.g.content; >
174
<!-- end of SVG.g.element -->]]>
176
<!ENTITY % SVG.g.attlist "INCLUDE" >
178
<!ATTLIST %SVG.g.qname;
180
%SVG.Conditional.attrib;
182
%SVG.Presentation.attrib;
183
%SVG.GraphicalEvents.attrib;
184
%SVG.External.attrib;
185
transform %TransformList.datatype; #IMPLIED
187
<!-- end of SVG.g.attlist -->]]>
189
<!-- defs: Definisions Element ......................... -->
191
<!ENTITY % SVG.defs.extra.content "" >
193
<!ENTITY % SVG.defs.element "INCLUDE" >
194
<![%SVG.defs.element;[
195
<!ENTITY % SVG.defs.content
196
"( %SVG.Description.class; | %SVG.Animation.class; %SVG.Structure.class;
197
%SVG.Conditional.class; %SVG.Image.class; %SVG.Style.class;
198
%SVG.Shape.class; %SVG.Text.class; %SVG.Marker.class;
199
%SVG.ColorProfile.class; %SVG.Gradient.class; %SVG.Pattern.class;
200
%SVG.Clip.class; %SVG.Mask.class; %SVG.Filter.class; %SVG.Cursor.class;
201
%SVG.Hyperlink.class; %SVG.View.class; %SVG.Script.class;
202
%SVG.Font.class; %SVG.defs.extra.content; )*"
204
<!ELEMENT %SVG.defs.qname; %SVG.defs.content; >
205
<!-- end of SVG.defs.element -->]]>
207
<!ENTITY % SVG.defs.attlist "INCLUDE" >
208
<![%SVG.defs.attlist;[
209
<!ATTLIST %SVG.defs.qname;
211
%SVG.Conditional.attrib;
213
%SVG.Presentation.attrib;
214
%SVG.GraphicalEvents.attrib;
215
%SVG.External.attrib;
216
transform %TransformList.datatype; #IMPLIED
218
<!-- end of SVG.defs.attlist -->]]>
220
<!-- desc: Description Element ......................... -->
222
<!ENTITY % SVG.desc.extra.content "" >
224
<!ENTITY % SVG.desc.element "INCLUDE" >
225
<![%SVG.desc.element;[
226
<!ENTITY % SVG.desc.content
227
"( #PCDATA %SVG.desc.extra.content; )*"
229
<!ELEMENT %SVG.desc.qname; %SVG.desc.content; >
230
<!-- end of SVG.desc.element -->]]>
232
<!ENTITY % SVG.desc.attlist "INCLUDE" >
233
<![%SVG.desc.attlist;[
234
<!ATTLIST %SVG.desc.qname;
238
<!-- end of SVG.desc.attlist -->]]>
240
<!-- title: Title Element .............................. -->
242
<!ENTITY % SVG.title.extra.content "" >
244
<!ENTITY % SVG.title.element "INCLUDE" >
245
<![%SVG.title.element;[
246
<!ENTITY % SVG.title.content
247
"( #PCDATA %SVG.title.extra.content; )*"
249
<!ELEMENT %SVG.title.qname; %SVG.title.content; >
250
<!-- end of SVG.title.element -->]]>
252
<!ENTITY % SVG.title.attlist "INCLUDE" >
253
<![%SVG.title.attlist;[
254
<!ATTLIST %SVG.title.qname;
258
<!-- end of SVG.title.attlist -->]]>
260
<!-- metadata: Metadata Element ........................ -->
262
<!ENTITY % SVG.metadata.extra.content "" >
264
<!ENTITY % SVG.metadata.element "INCLUDE" >
265
<![%SVG.metadata.element;[
266
<!ENTITY % SVG.metadata.content
267
"( #PCDATA %SVG.metadata.extra.content; )*"
269
<!ELEMENT %SVG.metadata.qname; %SVG.metadata.content; >
270
<!-- end of SVG.metadata.element -->]]>
272
<!ENTITY % SVG.metadata.attlist "INCLUDE" >
273
<![%SVG.metadata.attlist;[
274
<!ATTLIST %SVG.metadata.qname;
277
<!-- end of SVG.metadata.attlist -->]]>
279
<!-- symbol: Symbol Element ............................ -->
281
<!ENTITY % SVG.symbol.extra.content "" >
283
<!ENTITY % SVG.symbol.element "INCLUDE" >
284
<![%SVG.symbol.element;[
285
<!ENTITY % SVG.symbol.content
286
"( %SVG.Description.class; | %SVG.Animation.class; %SVG.Structure.class;
287
%SVG.Conditional.class; %SVG.Image.class; %SVG.Style.class;
288
%SVG.Shape.class; %SVG.Text.class; %SVG.Marker.class;
289
%SVG.ColorProfile.class; %SVG.Gradient.class; %SVG.Pattern.class;
290
%SVG.Clip.class; %SVG.Mask.class; %SVG.Filter.class; %SVG.Cursor.class;
291
%SVG.Hyperlink.class; %SVG.View.class; %SVG.Script.class;
292
%SVG.Font.class; %SVG.symbol.extra.content; )*"
294
<!ELEMENT %SVG.symbol.qname; %SVG.symbol.content; >
295
<!-- end of SVG.symbol.element -->]]>
297
<!ENTITY % SVG.symbol.attlist "INCLUDE" >
298
<![%SVG.symbol.attlist;[
299
<!ATTLIST %SVG.symbol.qname;
302
%SVG.Presentation.attrib;
303
%SVG.GraphicalEvents.attrib;
304
%SVG.External.attrib;
305
viewBox %ViewBoxSpec.datatype; #IMPLIED
306
preserveAspectRatio %PreserveAspectRatioSpec.datatype; 'xMidYMid meet'
308
<!-- end of SVG.symbol.attlist -->]]>
310
<!-- use: Use Element .................................. -->
312
<!ENTITY % SVG.use.extra.content "" >
314
<!ENTITY % SVG.use.element "INCLUDE" >
315
<![%SVG.use.element;[
316
<!ENTITY % SVG.use.content
317
"(( %SVG.Description.class; )*, ( %SVG.Animation.class;
318
%SVG.use.extra.content; )*)"
320
<!ELEMENT %SVG.use.qname; %SVG.use.content; >
321
<!-- end of SVG.use.element -->]]>
323
<!ENTITY % SVG.use.attlist "INCLUDE" >
324
<![%SVG.use.attlist;[
325
<!ATTLIST %SVG.use.qname;
327
%SVG.Conditional.attrib;
329
%SVG.Presentation.attrib;
330
%SVG.GraphicalEvents.attrib;
331
%SVG.XLinkEmbed.attrib;
332
%SVG.External.attrib;
333
x %Coordinate.datatype; #IMPLIED
334
y %Coordinate.datatype; #IMPLIED
335
width %Length.datatype; #IMPLIED
336
height %Length.datatype; #IMPLIED
337
transform %TransformList.datatype; #IMPLIED
339
<!-- end of SVG.use.attlist -->]]>
341
<!-- end of svg-structure.mod -->