1 | <!-- ....................................................................... --> |
---|
2 | <!-- SVG 1.1 Structure Module .............................................. --> |
---|
3 | <!-- file: svg-structure.mod |
---|
4 | |
---|
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 $ |
---|
8 | |
---|
9 | This DTD module is identified by the PUBLIC and SYSTEM identifiers: |
---|
10 | |
---|
11 | PUBLIC "-//W3C//ELEMENTS SVG 1.1 Structure//EN" |
---|
12 | SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-structure.mod" |
---|
13 | |
---|
14 | ....................................................................... --> |
---|
15 | |
---|
16 | <!-- Structure |
---|
17 | |
---|
18 | svg, g, defs, desc, title, metadata, symbol, use |
---|
19 | |
---|
20 | This module declares the major structural elements and their attributes. |
---|
21 | --> |
---|
22 | |
---|
23 | <!-- Qualified Names (Default) ......................... --> |
---|
24 | |
---|
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" > |
---|
33 | |
---|
34 | <!-- Attribute Collections (Default) ................... --> |
---|
35 | |
---|
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 "" > |
---|
60 | |
---|
61 | <!-- SVG.Description.class ............................. --> |
---|
62 | |
---|
63 | <!ENTITY % SVG.Description.extra.class "" > |
---|
64 | |
---|
65 | <!ENTITY % SVG.Description.class |
---|
66 | "%SVG.desc.qname; | %SVG.title.qname; | %SVG.metadata.qname; |
---|
67 | %SVG.Description.extra.class;" |
---|
68 | > |
---|
69 | |
---|
70 | <!-- SVG.Use.class ..................................... --> |
---|
71 | |
---|
72 | <!ENTITY % SVG.Use.extra.class "" > |
---|
73 | |
---|
74 | <!ENTITY % SVG.Use.class |
---|
75 | "| %SVG.use.qname; %SVG.Use.extra.class;" |
---|
76 | > |
---|
77 | |
---|
78 | <!-- SVG.Structure.class ............................... --> |
---|
79 | |
---|
80 | <!ENTITY % SVG.Structure.extra.class "" > |
---|
81 | |
---|
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;" |
---|
85 | > |
---|
86 | |
---|
87 | <!-- SVG.Presentation.attrib ........................... --> |
---|
88 | |
---|
89 | <!ENTITY % SVG.Presentation.extra.attrib "" > |
---|
90 | |
---|
91 | <!ENTITY % SVG.Presentation.attrib |
---|
92 | "%SVG.Container.attrib; |
---|
93 | %SVG.Viewport.attrib; |
---|
94 | %SVG.Text.attrib; |
---|
95 | %SVG.TextContent.attrib; |
---|
96 | %SVG.Font.attrib; |
---|
97 | %SVG.Paint.attrib; |
---|
98 | %SVG.Color.attrib; |
---|
99 | %SVG.Opacity.attrib; |
---|
100 | %SVG.Graphics.attrib; |
---|
101 | %SVG.Marker.attrib; |
---|
102 | %SVG.ColorProfile.attrib; |
---|
103 | %SVG.Gradient.attrib; |
---|
104 | %SVG.Clip.attrib; |
---|
105 | %SVG.Mask.attrib; |
---|
106 | %SVG.Filter.attrib; |
---|
107 | %SVG.FilterColor.attrib; |
---|
108 | %SVG.Cursor.attrib; |
---|
109 | flood-color %SVGColor.datatype; #IMPLIED |
---|
110 | flood-opacity %OpacityValue.datatype; #IMPLIED |
---|
111 | lighting-color %SVGColor.datatype; #IMPLIED |
---|
112 | %SVG.Presentation.extra.attrib;" |
---|
113 | > |
---|
114 | |
---|
115 | <!-- svg: SVG Document Element ......................... --> |
---|
116 | |
---|
117 | <!ENTITY % SVG.svg.extra.content "" > |
---|
118 | |
---|
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; )*" |
---|
129 | > |
---|
130 | <!ELEMENT %SVG.svg.qname; %SVG.svg.content; > |
---|
131 | <!-- end of SVG.svg.element -->]]> |
---|
132 | |
---|
133 | <!ENTITY % SVG.svg.attlist "INCLUDE" > |
---|
134 | <![%SVG.svg.attlist;[ |
---|
135 | <!ATTLIST %SVG.svg.qname; |
---|
136 | %SVG.xmlns.attrib; |
---|
137 | %SVG.Core.attrib; |
---|
138 | %SVG.Conditional.attrib; |
---|
139 | %SVG.Style.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' |
---|
155 | > |
---|
156 | <!-- end of SVG.svg.attlist -->]]> |
---|
157 | |
---|
158 | <!-- g: Group Element .................................. --> |
---|
159 | |
---|
160 | <!ENTITY % SVG.g.extra.content "" > |
---|
161 | |
---|
162 | <!ENTITY % SVG.g.element "INCLUDE" > |
---|
163 | <![%SVG.g.element;[ |
---|
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; )*" |
---|
172 | > |
---|
173 | <!ELEMENT %SVG.g.qname; %SVG.g.content; > |
---|
174 | <!-- end of SVG.g.element -->]]> |
---|
175 | |
---|
176 | <!ENTITY % SVG.g.attlist "INCLUDE" > |
---|
177 | <![%SVG.g.attlist;[ |
---|
178 | <!ATTLIST %SVG.g.qname; |
---|
179 | %SVG.Core.attrib; |
---|
180 | %SVG.Conditional.attrib; |
---|
181 | %SVG.Style.attrib; |
---|
182 | %SVG.Presentation.attrib; |
---|
183 | %SVG.GraphicalEvents.attrib; |
---|
184 | %SVG.External.attrib; |
---|
185 | transform %TransformList.datatype; #IMPLIED |
---|
186 | > |
---|
187 | <!-- end of SVG.g.attlist -->]]> |
---|
188 | |
---|
189 | <!-- defs: Definisions Element ......................... --> |
---|
190 | |
---|
191 | <!ENTITY % SVG.defs.extra.content "" > |
---|
192 | |
---|
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; )*" |
---|
203 | > |
---|
204 | <!ELEMENT %SVG.defs.qname; %SVG.defs.content; > |
---|
205 | <!-- end of SVG.defs.element -->]]> |
---|
206 | |
---|
207 | <!ENTITY % SVG.defs.attlist "INCLUDE" > |
---|
208 | <![%SVG.defs.attlist;[ |
---|
209 | <!ATTLIST %SVG.defs.qname; |
---|
210 | %SVG.Core.attrib; |
---|
211 | %SVG.Conditional.attrib; |
---|
212 | %SVG.Style.attrib; |
---|
213 | %SVG.Presentation.attrib; |
---|
214 | %SVG.GraphicalEvents.attrib; |
---|
215 | %SVG.External.attrib; |
---|
216 | transform %TransformList.datatype; #IMPLIED |
---|
217 | > |
---|
218 | <!-- end of SVG.defs.attlist -->]]> |
---|
219 | |
---|
220 | <!-- desc: Description Element ......................... --> |
---|
221 | |
---|
222 | <!ENTITY % SVG.desc.extra.content "" > |
---|
223 | |
---|
224 | <!ENTITY % SVG.desc.element "INCLUDE" > |
---|
225 | <![%SVG.desc.element;[ |
---|
226 | <!ENTITY % SVG.desc.content |
---|
227 | "( #PCDATA %SVG.desc.extra.content; )*" |
---|
228 | > |
---|
229 | <!ELEMENT %SVG.desc.qname; %SVG.desc.content; > |
---|
230 | <!-- end of SVG.desc.element -->]]> |
---|
231 | |
---|
232 | <!ENTITY % SVG.desc.attlist "INCLUDE" > |
---|
233 | <![%SVG.desc.attlist;[ |
---|
234 | <!ATTLIST %SVG.desc.qname; |
---|
235 | %SVG.Core.attrib; |
---|
236 | %SVG.Style.attrib; |
---|
237 | > |
---|
238 | <!-- end of SVG.desc.attlist -->]]> |
---|
239 | |
---|
240 | <!-- title: Title Element .............................. --> |
---|
241 | |
---|
242 | <!ENTITY % SVG.title.extra.content "" > |
---|
243 | |
---|
244 | <!ENTITY % SVG.title.element "INCLUDE" > |
---|
245 | <![%SVG.title.element;[ |
---|
246 | <!ENTITY % SVG.title.content |
---|
247 | "( #PCDATA %SVG.title.extra.content; )*" |
---|
248 | > |
---|
249 | <!ELEMENT %SVG.title.qname; %SVG.title.content; > |
---|
250 | <!-- end of SVG.title.element -->]]> |
---|
251 | |
---|
252 | <!ENTITY % SVG.title.attlist "INCLUDE" > |
---|
253 | <![%SVG.title.attlist;[ |
---|
254 | <!ATTLIST %SVG.title.qname; |
---|
255 | %SVG.Core.attrib; |
---|
256 | %SVG.Style.attrib; |
---|
257 | > |
---|
258 | <!-- end of SVG.title.attlist -->]]> |
---|
259 | |
---|
260 | <!-- metadata: Metadata Element ........................ --> |
---|
261 | |
---|
262 | <!ENTITY % SVG.metadata.extra.content "" > |
---|
263 | |
---|
264 | <!ENTITY % SVG.metadata.element "INCLUDE" > |
---|
265 | <![%SVG.metadata.element;[ |
---|
266 | <!ENTITY % SVG.metadata.content |
---|
267 | "( #PCDATA %SVG.metadata.extra.content; )*" |
---|
268 | > |
---|
269 | <!ELEMENT %SVG.metadata.qname; %SVG.metadata.content; > |
---|
270 | <!-- end of SVG.metadata.element -->]]> |
---|
271 | |
---|
272 | <!ENTITY % SVG.metadata.attlist "INCLUDE" > |
---|
273 | <![%SVG.metadata.attlist;[ |
---|
274 | <!ATTLIST %SVG.metadata.qname; |
---|
275 | %SVG.Core.attrib; |
---|
276 | > |
---|
277 | <!-- end of SVG.metadata.attlist -->]]> |
---|
278 | |
---|
279 | <!-- symbol: Symbol Element ............................ --> |
---|
280 | |
---|
281 | <!ENTITY % SVG.symbol.extra.content "" > |
---|
282 | |
---|
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; )*" |
---|
293 | > |
---|
294 | <!ELEMENT %SVG.symbol.qname; %SVG.symbol.content; > |
---|
295 | <!-- end of SVG.symbol.element -->]]> |
---|
296 | |
---|
297 | <!ENTITY % SVG.symbol.attlist "INCLUDE" > |
---|
298 | <![%SVG.symbol.attlist;[ |
---|
299 | <!ATTLIST %SVG.symbol.qname; |
---|
300 | %SVG.Core.attrib; |
---|
301 | %SVG.Style.attrib; |
---|
302 | %SVG.Presentation.attrib; |
---|
303 | %SVG.GraphicalEvents.attrib; |
---|
304 | %SVG.External.attrib; |
---|
305 | viewBox %ViewBoxSpec.datatype; #IMPLIED |
---|
306 | preserveAspectRatio %PreserveAspectRatioSpec.datatype; 'xMidYMid meet' |
---|
307 | > |
---|
308 | <!-- end of SVG.symbol.attlist -->]]> |
---|
309 | |
---|
310 | <!-- use: Use Element .................................. --> |
---|
311 | |
---|
312 | <!ENTITY % SVG.use.extra.content "" > |
---|
313 | |
---|
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; )*)" |
---|
319 | > |
---|
320 | <!ELEMENT %SVG.use.qname; %SVG.use.content; > |
---|
321 | <!-- end of SVG.use.element -->]]> |
---|
322 | |
---|
323 | <!ENTITY % SVG.use.attlist "INCLUDE" > |
---|
324 | <![%SVG.use.attlist;[ |
---|
325 | <!ATTLIST %SVG.use.qname; |
---|
326 | %SVG.Core.attrib; |
---|
327 | %SVG.Conditional.attrib; |
---|
328 | %SVG.Style.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 |
---|
338 | > |
---|
339 | <!-- end of SVG.use.attlist -->]]> |
---|
340 | |
---|
341 | <!-- end of svg-structure.mod --> |
---|