1 | <!-- ....................................................................... --> |
---|
2 | <!-- SVG 1.1 Basic Structure Module ........................................ --> |
---|
3 | <!-- file: svg-basic-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-basic-structure.mod,v 1.6 2002/11/14 15:11:02 fujisawa Exp $ |
---|
8 | |
---|
9 | This DTD module is identified by the PUBLIC and SYSTEM identifiers: |
---|
10 | |
---|
11 | PUBLIC "-//W3C//ELEMENTS SVG 1.1 Basic Structure//EN" |
---|
12 | SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-basic-structure.mod" |
---|
13 | |
---|
14 | ....................................................................... --> |
---|
15 | |
---|
16 | <!-- Basic Structure |
---|
17 | |
---|
18 | svg, g, defs, desc, title, metadata, 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.use.qname "use" > |
---|
32 | |
---|
33 | <!-- Attribute Collections (Default) ................... --> |
---|
34 | |
---|
35 | <!ENTITY % SVG.Core.attrib "" > |
---|
36 | <!ENTITY % SVG.Container.attrib "" > |
---|
37 | <!ENTITY % SVG.Conditional.attrib "" > |
---|
38 | <!ENTITY % SVG.Style.attrib "" > |
---|
39 | <!ENTITY % SVG.Viewport.attrib "" > |
---|
40 | <!ENTITY % SVG.Text.attrib "" > |
---|
41 | <!ENTITY % SVG.TextContent.attrib "" > |
---|
42 | <!ENTITY % SVG.Font.attrib "" > |
---|
43 | <!ENTITY % SVG.Paint.attrib "" > |
---|
44 | <!ENTITY % SVG.Color.attrib "" > |
---|
45 | <!ENTITY % SVG.Opacity.attrib "" > |
---|
46 | <!ENTITY % SVG.Graphics.attrib "" > |
---|
47 | <!ENTITY % SVG.Marker.attrib "" > |
---|
48 | <!ENTITY % SVG.ColorProfile.attrib "" > |
---|
49 | <!ENTITY % SVG.Gradient.attrib "" > |
---|
50 | <!ENTITY % SVG.Clip.attrib "" > |
---|
51 | <!ENTITY % SVG.Mask.attrib "" > |
---|
52 | <!ENTITY % SVG.Filter.attrib "" > |
---|
53 | <!ENTITY % SVG.FilterColor.attrib "" > |
---|
54 | <!ENTITY % SVG.DocumentEvents.attrib "" > |
---|
55 | <!ENTITY % SVG.GraphicalEvents.attrib "" > |
---|
56 | <!ENTITY % SVG.Cursor.attrib "" > |
---|
57 | <!ENTITY % SVG.XLinkEmbed.attrib "" > |
---|
58 | <!ENTITY % SVG.External.attrib "" > |
---|
59 | |
---|
60 | <!-- SVG.Description.class ............................. --> |
---|
61 | |
---|
62 | <!ENTITY % SVG.Description.extra.class "" > |
---|
63 | |
---|
64 | <!ENTITY % SVG.Description.class |
---|
65 | "%SVG.desc.qname; | %SVG.title.qname; | %SVG.metadata.qname; |
---|
66 | %SVG.Description.extra.class;" |
---|
67 | > |
---|
68 | |
---|
69 | <!-- SVG.Use.class ..................................... --> |
---|
70 | |
---|
71 | <!ENTITY % SVG.Use.extra.class "" > |
---|
72 | |
---|
73 | <!ENTITY % SVG.Use.class |
---|
74 | "| %SVG.use.qname; %SVG.Use.extra.class;" |
---|
75 | > |
---|
76 | |
---|
77 | <!-- SVG.Structure.class ............................... --> |
---|
78 | |
---|
79 | <!ENTITY % SVG.Structure.extra.class "" > |
---|
80 | |
---|
81 | <!ENTITY % SVG.Structure.class |
---|
82 | "| %SVG.g.qname; | %SVG.defs.qname; %SVG.Use.class; |
---|
83 | %SVG.Structure.extra.class;" |
---|
84 | > |
---|
85 | |
---|
86 | <!-- SVG.Presentation.attrib ........................... --> |
---|
87 | |
---|
88 | <!ENTITY % SVG.Presentation.extra.attrib "" > |
---|
89 | |
---|
90 | <!ENTITY % SVG.Presentation.attrib |
---|
91 | "%SVG.Container.attrib; |
---|
92 | %SVG.Viewport.attrib; |
---|
93 | %SVG.Text.attrib; |
---|
94 | %SVG.TextContent.attrib; |
---|
95 | %SVG.Font.attrib; |
---|
96 | %SVG.Paint.attrib; |
---|
97 | %SVG.Color.attrib; |
---|
98 | %SVG.Opacity.attrib; |
---|
99 | %SVG.Graphics.attrib; |
---|
100 | %SVG.Marker.attrib; |
---|
101 | %SVG.ColorProfile.attrib; |
---|
102 | %SVG.Gradient.attrib; |
---|
103 | %SVG.Clip.attrib; |
---|
104 | %SVG.Mask.attrib; |
---|
105 | %SVG.Filter.attrib; |
---|
106 | %SVG.FilterColor.attrib; |
---|
107 | %SVG.Cursor.attrib; |
---|
108 | flood-color %SVGColor.datatype; #IMPLIED |
---|
109 | flood-opacity %OpacityValue.datatype; #IMPLIED |
---|
110 | lighting-color %SVGColor.datatype; #IMPLIED |
---|
111 | %SVG.Presentation.extra.attrib;" |
---|
112 | > |
---|
113 | |
---|
114 | <!-- svg: SVG Document Element ......................... --> |
---|
115 | |
---|
116 | <!ENTITY % SVG.svg.extra.content "" > |
---|
117 | |
---|
118 | <!ENTITY % SVG.svg.element "INCLUDE" > |
---|
119 | <![%SVG.svg.element;[ |
---|
120 | <!ENTITY % SVG.svg.content |
---|
121 | "( %SVG.Description.class; | %SVG.Animation.class; %SVG.Structure.class; |
---|
122 | %SVG.Conditional.class; %SVG.Image.class; %SVG.Style.class; |
---|
123 | %SVG.Shape.class; %SVG.Text.class; %SVG.Marker.class; |
---|
124 | %SVG.ColorProfile.class; %SVG.Gradient.class; %SVG.Pattern.class; |
---|
125 | %SVG.Clip.class; %SVG.Mask.class; %SVG.Filter.class; %SVG.Cursor.class; |
---|
126 | %SVG.Hyperlink.class; %SVG.View.class; %SVG.Script.class; |
---|
127 | %SVG.Font.class; %SVG.svg.extra.content; )*" |
---|
128 | > |
---|
129 | <!ELEMENT %SVG.svg.qname; %SVG.svg.content; > |
---|
130 | <!-- end of SVG.svg.element -->]]> |
---|
131 | |
---|
132 | <!ENTITY % SVG.svg.attlist "INCLUDE" > |
---|
133 | <![%SVG.svg.attlist;[ |
---|
134 | <!ATTLIST %SVG.svg.qname; |
---|
135 | %SVG.xmlns.attrib; |
---|
136 | %SVG.Core.attrib; |
---|
137 | %SVG.Conditional.attrib; |
---|
138 | %SVG.Style.attrib; |
---|
139 | %SVG.Presentation.attrib; |
---|
140 | %SVG.DocumentEvents.attrib; |
---|
141 | %SVG.GraphicalEvents.attrib; |
---|
142 | %SVG.External.attrib; |
---|
143 | x %Coordinate.datatype; #IMPLIED |
---|
144 | y %Coordinate.datatype; #IMPLIED |
---|
145 | width %Length.datatype; #IMPLIED |
---|
146 | height %Length.datatype; #IMPLIED |
---|
147 | viewBox %ViewBoxSpec.datatype; #IMPLIED |
---|
148 | preserveAspectRatio %PreserveAspectRatioSpec.datatype; 'xMidYMid meet' |
---|
149 | zoomAndPan ( disable | magnify ) 'magnify' |
---|
150 | version %Number.datatype; #FIXED '1.1' |
---|
151 | baseProfile %Text.datatype; #IMPLIED |
---|
152 | > |
---|
153 | <!-- end of SVG.svg.attlist -->]]> |
---|
154 | |
---|
155 | <!-- g: Group Element .................................. --> |
---|
156 | |
---|
157 | <!ENTITY % SVG.g.extra.content "" > |
---|
158 | |
---|
159 | <!ENTITY % SVG.g.element "INCLUDE" > |
---|
160 | <![%SVG.g.element;[ |
---|
161 | <!ENTITY % SVG.g.content |
---|
162 | "( %SVG.Description.class; | %SVG.Animation.class; %SVG.Structure.class; |
---|
163 | %SVG.Conditional.class; %SVG.Image.class; %SVG.Style.class; |
---|
164 | %SVG.Shape.class; %SVG.Text.class; %SVG.Marker.class; |
---|
165 | %SVG.ColorProfile.class; %SVG.Gradient.class; %SVG.Pattern.class; |
---|
166 | %SVG.Clip.class; %SVG.Mask.class; %SVG.Filter.class; %SVG.Cursor.class; |
---|
167 | %SVG.Hyperlink.class; %SVG.View.class; %SVG.Script.class; |
---|
168 | %SVG.Font.class; %SVG.g.extra.content; )*" |
---|
169 | > |
---|
170 | <!ELEMENT %SVG.g.qname; %SVG.g.content; > |
---|
171 | <!-- end of SVG.g.element -->]]> |
---|
172 | |
---|
173 | <!ENTITY % SVG.g.attlist "INCLUDE" > |
---|
174 | <![%SVG.g.attlist;[ |
---|
175 | <!ATTLIST %SVG.g.qname; |
---|
176 | %SVG.Core.attrib; |
---|
177 | %SVG.Conditional.attrib; |
---|
178 | %SVG.Style.attrib; |
---|
179 | %SVG.Presentation.attrib; |
---|
180 | %SVG.GraphicalEvents.attrib; |
---|
181 | %SVG.External.attrib; |
---|
182 | transform %TransformList.datatype; #IMPLIED |
---|
183 | > |
---|
184 | <!-- end of SVG.g.attlist -->]]> |
---|
185 | |
---|
186 | <!-- defs: Definisions Element ......................... --> |
---|
187 | |
---|
188 | <!ENTITY % SVG.defs.extra.content "" > |
---|
189 | |
---|
190 | <!ENTITY % SVG.defs.element "INCLUDE" > |
---|
191 | <![%SVG.defs.element;[ |
---|
192 | <!ENTITY % SVG.defs.content |
---|
193 | "( %SVG.Description.class; | %SVG.Animation.class; %SVG.Structure.class; |
---|
194 | %SVG.Conditional.class; %SVG.Image.class; %SVG.Style.class; |
---|
195 | %SVG.Shape.class; %SVG.Text.class; %SVG.Marker.class; |
---|
196 | %SVG.ColorProfile.class; %SVG.Gradient.class; %SVG.Pattern.class; |
---|
197 | %SVG.Clip.class; %SVG.Mask.class; %SVG.Filter.class; %SVG.Cursor.class; |
---|
198 | %SVG.Hyperlink.class; %SVG.View.class; %SVG.Script.class; |
---|
199 | %SVG.Font.class; %SVG.defs.extra.content; )*" |
---|
200 | > |
---|
201 | <!ELEMENT %SVG.defs.qname; %SVG.defs.content; > |
---|
202 | <!-- end of SVG.defs.element -->]]> |
---|
203 | |
---|
204 | <!ENTITY % SVG.defs.attlist "INCLUDE" > |
---|
205 | <![%SVG.defs.attlist;[ |
---|
206 | <!ATTLIST %SVG.defs.qname; |
---|
207 | %SVG.Core.attrib; |
---|
208 | %SVG.Conditional.attrib; |
---|
209 | %SVG.Style.attrib; |
---|
210 | %SVG.Presentation.attrib; |
---|
211 | %SVG.GraphicalEvents.attrib; |
---|
212 | %SVG.External.attrib; |
---|
213 | transform %TransformList.datatype; #IMPLIED |
---|
214 | > |
---|
215 | <!-- end of SVG.defs.attlist -->]]> |
---|
216 | |
---|
217 | <!-- desc: Description Element ......................... --> |
---|
218 | |
---|
219 | <!ENTITY % SVG.desc.extra.content "" > |
---|
220 | |
---|
221 | <!ENTITY % SVG.desc.element "INCLUDE" > |
---|
222 | <![%SVG.desc.element;[ |
---|
223 | <!ENTITY % SVG.desc.content |
---|
224 | "( #PCDATA %SVG.desc.extra.content; )*" |
---|
225 | > |
---|
226 | <!ELEMENT %SVG.desc.qname; %SVG.desc.content; > |
---|
227 | <!-- end of SVG.desc.element -->]]> |
---|
228 | |
---|
229 | <!ENTITY % SVG.desc.attlist "INCLUDE" > |
---|
230 | <![%SVG.desc.attlist;[ |
---|
231 | <!ATTLIST %SVG.desc.qname; |
---|
232 | %SVG.Core.attrib; |
---|
233 | %SVG.Style.attrib; |
---|
234 | > |
---|
235 | <!-- end of SVG.desc.attlist -->]]> |
---|
236 | |
---|
237 | <!-- title: Title Element .............................. --> |
---|
238 | |
---|
239 | <!ENTITY % SVG.title.extra.content "" > |
---|
240 | |
---|
241 | <!ENTITY % SVG.title.element "INCLUDE" > |
---|
242 | <![%SVG.title.element;[ |
---|
243 | <!ENTITY % SVG.title.content |
---|
244 | "( #PCDATA %SVG.title.extra.content; )*" |
---|
245 | > |
---|
246 | <!ELEMENT %SVG.title.qname; %SVG.title.content; > |
---|
247 | <!-- end of SVG.title.element -->]]> |
---|
248 | |
---|
249 | <!ENTITY % SVG.title.attlist "INCLUDE" > |
---|
250 | <![%SVG.title.attlist;[ |
---|
251 | <!ATTLIST %SVG.title.qname; |
---|
252 | %SVG.Core.attrib; |
---|
253 | %SVG.Style.attrib; |
---|
254 | > |
---|
255 | <!-- end of SVG.title.attlist -->]]> |
---|
256 | |
---|
257 | <!-- metadata: Metadata Element ........................ --> |
---|
258 | |
---|
259 | <!ENTITY % SVG.metadata.extra.content "" > |
---|
260 | |
---|
261 | <!ENTITY % SVG.metadata.element "INCLUDE" > |
---|
262 | <![%SVG.metadata.element;[ |
---|
263 | <!ENTITY % SVG.metadata.content |
---|
264 | "( #PCDATA %SVG.metadata.extra.content; )*" |
---|
265 | > |
---|
266 | <!ELEMENT %SVG.metadata.qname; %SVG.metadata.content; > |
---|
267 | <!-- end of SVG.metadata.element -->]]> |
---|
268 | |
---|
269 | <!ENTITY % SVG.metadata.attlist "INCLUDE" > |
---|
270 | <![%SVG.metadata.attlist;[ |
---|
271 | <!ATTLIST %SVG.metadata.qname; |
---|
272 | %SVG.Core.attrib; |
---|
273 | > |
---|
274 | <!-- end of SVG.metadata.attlist -->]]> |
---|
275 | |
---|
276 | <!-- use: Use Element .................................. --> |
---|
277 | |
---|
278 | <!ENTITY % SVG.use.extra.content "" > |
---|
279 | |
---|
280 | <!ENTITY % SVG.use.element "INCLUDE" > |
---|
281 | <![%SVG.use.element;[ |
---|
282 | <!ENTITY % SVG.use.content |
---|
283 | "(( %SVG.Description.class; )*, ( %SVG.Animation.class; |
---|
284 | %SVG.use.extra.content; )*)" |
---|
285 | > |
---|
286 | <!ELEMENT %SVG.use.qname; %SVG.use.content; > |
---|
287 | <!-- end of SVG.use.element -->]]> |
---|
288 | |
---|
289 | <!ENTITY % SVG.use.attlist "INCLUDE" > |
---|
290 | <![%SVG.use.attlist;[ |
---|
291 | <!ATTLIST %SVG.use.qname; |
---|
292 | %SVG.Core.attrib; |
---|
293 | %SVG.Conditional.attrib; |
---|
294 | %SVG.Style.attrib; |
---|
295 | %SVG.Presentation.attrib; |
---|
296 | %SVG.GraphicalEvents.attrib; |
---|
297 | %SVG.XLinkEmbed.attrib; |
---|
298 | %SVG.External.attrib; |
---|
299 | x %Coordinate.datatype; #IMPLIED |
---|
300 | y %Coordinate.datatype; #IMPLIED |
---|
301 | width %Length.datatype; #IMPLIED |
---|
302 | height %Length.datatype; #IMPLIED |
---|
303 | transform %TransformList.datatype; #IMPLIED |
---|
304 | > |
---|
305 | <!-- end of SVG.use.attlist -->]]> |
---|
306 | |
---|
307 | <!-- end of svg-basic-structure.mod --> |
---|