File: tiny12elements.py

package info (click to toggle)
svgwrite 1.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,092 kB
  • sloc: python: 12,603; makefile: 117; sh: 5
file content (243 lines) | stat: -rw-r--r-- 30,087 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
#coding:utf-8
# generated by:  D:\User\Python\svgwrite\makedata\maketiny12data.py

from svgwrite.types import SVGElement
from tiny12data import property_names, media_group_names

tiny12_elements = { 
    'a': SVGElement('a',
    attributes=[u'about', u'class', u'content', u'datatype', u'externalResourcesRequired', u'focusHighlight', u'focusable', u'id', u'nav-down', u'nav-down-left', u'nav-down-right', u'nav-left', u'nav-next', u'nav-prev', u'nav-right', u'nav-up', u'nav-up-left', u'nav-up-right', u'property', u'rel', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'rev', u'role', u'systemLanguage', u'target', u'transform', u'typeof', u'xlink:actuate', u'xlink:arcrole', u'xlink:href', u'xlink:role', u'xlink:show', u'xlink:title', u'xlink:type', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=property_names,
    children=['likeparent']),

    'animate': SVGElement('animate',
    attributes=[u'about', u'accumulate', u'additive', u'attributeName', u'attributeType', u'begin', u'by', u'calcMode', u'class', u'content', u'datatype', u'dur', u'end', u'fill', u'from', u'id', u'keySplines', u'keyTimes', u'max', u'min', u'property', u'rel', u'repeatCount', u'repeatDur', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'restart', u'rev', u'role', u'systemLanguage', u'to', u'typeof', u'values', u'xlink:actuate', u'xlink:arcrole', u'xlink:href', u'xlink:role', u'xlink:show', u'xlink:title', u'xlink:type', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=None,
    children=[u'desc', u'handler', u'metadata', u'switch', u'title']),

    'animateColor': SVGElement('animateColor',
    attributes=[u'about', u'accumulate', u'additive', u'attributeName', u'attributeType', u'begin', u'by', u'calcMode', u'class', u'content', u'datatype', u'dur', u'end', u'fill', u'from', u'id', u'keySplines', u'keyTimes', u'max', u'min', u'property', u'rel', u'repeatCount', u'repeatDur', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'restart', u'rev', u'role', u'systemLanguage', u'to', u'typeof', u'values', u'xlink:actuate', u'xlink:arcrole', u'xlink:href', u'xlink:role', u'xlink:show', u'xlink:title', u'xlink:type', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=None,
    children=[u'desc', u'handler', u'metadata', u'switch', u'title']),

    'animateMotion': SVGElement('animateMotion',
    attributes=[u'about', u'accumulate', u'additive', u'begin', u'by', u'calcMode', u'class', u'content', u'datatype', u'dur', u'end', u'fill', u'from', u'id', u'keyPoints', u'keySplines', u'keyTimes', u'max', u'min', u'origin', u'path', u'property', u'rel', u'repeatCount', u'repeatDur', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'restart', u'rev', u'role', u'rotate', u'systemLanguage', u'to', u'typeof', u'values', u'xlink:actuate', u'xlink:arcrole', u'xlink:href', u'xlink:role', u'xlink:show', u'xlink:title', u'xlink:type', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=None,
    children=[u'desc', u'handler', u'metadata', u'mpath', u'switch', u'title']),

    'animateTransform': SVGElement('animateTransform',
    attributes=[u'about', u'accumulate', u'additive', u'attributeName', u'attributeType', u'begin', u'by', u'calcMode', u'class', u'content', u'datatype', u'dur', u'end', u'fill', u'from', u'id', u'keySplines', u'keyTimes', u'max', u'min', u'property', u'rel', u'repeatCount', u'repeatDur', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'restart', u'rev', u'role', u'systemLanguage', u'to', u'type', u'typeof', u'values', u'xlink:actuate', u'xlink:arcrole', u'xlink:href', u'xlink:role', u'xlink:show', u'xlink:title', u'xlink:type', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=None,
    children=[u'desc', u'handler', u'metadata', u'switch', u'title']),

    'animation': SVGElement('animation',
    attributes=[u'about', u'begin', u'class', u'content', u'datatype', u'dur', u'end', u'externalResourcesRequired', u'fill', u'focusHighlight', u'focusable', u'height', u'id', u'initialVisibility', u'max', u'min', u'nav-down', u'nav-down-left', u'nav-down-right', u'nav-left', u'nav-next', u'nav-prev', u'nav-right', u'nav-up', u'nav-up-left', u'nav-up-right', u'preserveAspectRatio', u'property', u'rel', u'repeatCount', u'repeatDur', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'restart', u'rev', u'role', u'syncBehavior', u'syncMaster', u'syncTolerance', u'systemLanguage', u'transform', u'typeof', u'width', u'x', u'xlink:actuate', u'xlink:arcrole', u'xlink:href', u'xlink:role', u'xlink:show', u'xlink:title', u'xlink:type', u'xml:base', u'xml:id', u'xml:lang', u'xml:space', u'y'],
    properties=media_group_names,
    children=[u'animate', u'animateColor', u'animateMotion', u'animateTransform', u'desc', u'discard', u'handler', u'metadata', u'set', u'switch', u'title']),

    'audio': SVGElement('audio',
    attributes=[u'about', u'begin', u'class', u'content', u'datatype', u'dur', u'end', u'externalResourcesRequired', u'fill', u'id', u'max', u'min', u'property', u'rel', u'repeatCount', u'repeatDur', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'restart', u'rev', u'role', u'syncBehavior', u'syncMaster', u'syncTolerance', u'systemLanguage', u'type', u'typeof', u'xlink:actuate', u'xlink:arcrole', u'xlink:href', u'xlink:role', u'xlink:show', u'xlink:title', u'xlink:type', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=media_group_names,
    children=[u'animate', u'animateColor', u'animateMotion', u'animateTransform', u'desc', u'discard', u'handler', u'metadata', u'set', u'switch', u'title']),

    'circle': SVGElement('circle',
    attributes=[u'about', u'class', u'content', u'cx', u'cy', u'datatype', u'focusHighlight', u'focusable', u'id', u'nav-down', u'nav-down-left', u'nav-down-right', u'nav-left', u'nav-next', u'nav-prev', u'nav-right', u'nav-up', u'nav-up-left', u'nav-up-right', u'property', u'r', u'rel', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'rev', u'role', u'systemLanguage', u'transform', u'typeof', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=property_names,
    children=[u'animate', u'animateColor', u'animateMotion', u'animateTransform', u'desc', u'discard', u'handler', u'metadata', u'set', u'switch', u'title']),

    'defs': SVGElement('defs',
    attributes=[u'about', u'class', u'content', u'datatype', u'id', u'property', u'rel', u'resource', u'rev', u'role', u'typeof', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=property_names,
    children=[u'a', u'animate', u'animateColor', u'animateMotion', u'animateTransform', u'animation', u'audio', u'circle', u'defs', u'desc', u'discard', u'ellipse', u'font', u'font-face', u'foreignObject', u'g', u'handler', u'image', u'line', u'linearGradient', u'listener', u'metadata', u'path', u'polygon', u'polyline', u'prefetch', u'radialGradient', u'rect', u'script', u'set', u'solidColor', u'switch', u'text', u'textArea', u'title', u'use', u'video']),

    'desc': SVGElement('desc',
    attributes=[u'about', u'class', u'content', u'datatype', u'id', u'property', u'rel', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'rev', u'role', u'systemLanguage', u'typeof', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=media_group_names,
    children=[]),

    'discard': SVGElement('discard',
    attributes=[u'about', u'begin', u'class', u'content', u'datatype', u'id', u'property', u'rel', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'rev', u'role', u'systemLanguage', u'typeof', u'xlink:actuate', u'xlink:arcrole', u'xlink:href', u'xlink:role', u'xlink:show', u'xlink:title', u'xlink:type', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=None,
    children=[u'desc', u'handler', u'metadata', u'switch', u'title']),

    'ellipse': SVGElement('ellipse',
    attributes=[u'about', u'class', u'content', u'cx', u'cy', u'datatype', u'focusHighlight', u'focusable', u'id', u'nav-down', u'nav-down-left', u'nav-down-right', u'nav-left', u'nav-next', u'nav-prev', u'nav-right', u'nav-up', u'nav-up-left', u'nav-up-right', u'property', u'rel', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'rev', u'role', u'rx', u'ry', u'systemLanguage', u'transform', u'typeof', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=property_names,
    children=[u'animate', u'animateColor', u'animateMotion', u'animateTransform', u'desc', u'discard', u'handler', u'metadata', u'set', u'switch', u'title']),

    'font': SVGElement('font',
    attributes=[u'about', u'class', u'content', u'datatype', u'externalResourcesRequired', u'horiz-adv-x', u'horiz-origin-x', u'id', u'property', u'rel', u'resource', u'rev', u'role', u'typeof', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=None,
    children=[u'desc', u'font-face', u'glyph', u'hkern', u'metadata', u'missing-glyph', u'switch', u'title']),

    'font-face': SVGElement('font-face',
    attributes=[u'about', u'accent-height', u'alphabetic', u'ascent', u'bbox', u'cap-height', u'class', u'content', u'datatype', u'descent', u'externalResourcesRequired', u'font-family', u'font-stretch', u'font-style', u'font-variant', u'font-weight', u'hanging', u'id', u'ideographic', u'mathematical', u'overline-position', u'overline-thickness', u'panose-1', u'property', u'rel', u'resource', u'rev', u'role', u'slope', u'stemh', u'stemv', u'strikethrough-position', u'strikethrough-thickness', u'typeof', u'underline-position', u'underline-thickness', u'unicode-range', u'units-per-em', u'widths', u'x-height', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=None,
    children=[u'desc', u'font-face-src', u'metadata', u'switch', u'title']),

    'font-face-src': SVGElement('font-face-src',
    attributes=[u'about', u'class', u'content', u'datatype', u'id', u'property', u'rel', u'resource', u'rev', u'role', u'typeof', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=None,
    children=[u'desc', u'font-face-uri', u'metadata', u'switch', u'title']),

    'font-face-uri': SVGElement('font-face-uri',
    attributes=[u'about', u'class', u'content', u'datatype', u'externalResourcesRequired', u'id', u'property', u'rel', u'resource', u'rev', u'role', u'typeof', u'xlink:actuate', u'xlink:arcrole', u'xlink:href', u'xlink:role', u'xlink:show', u'xlink:title', u'xlink:type', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=None,
    children=[u'desc', u'metadata', u'switch', u'title']),

    'foreignObject': SVGElement('foreignObject',
    attributes=[u'about', u'class', u'content', u'datatype', u'externalResourcesRequired', u'focusHighlight', u'focusable', u'height', u'id', u'nav-down', u'nav-down-left', u'nav-down-right', u'nav-left', u'nav-next', u'nav-prev', u'nav-right', u'nav-up', u'nav-up-left', u'nav-up-right', u'property', u'rel', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'rev', u'role', u'systemLanguage', u'transform', u'typeof', u'width', u'x', u'xlink:actuate', u'xlink:arcrole', u'xlink:href', u'xlink:role', u'xlink:show', u'xlink:title', u'xlink:type', u'xml:base', u'xml:id', u'xml:lang', u'xml:space', u'y'],
    properties=property_names,
    children=[u'desc', u'metadata', u'svg', u'switch', u'title']),

    'g': SVGElement('g',
    attributes=[u'about', u'class', u'content', u'datatype', u'externalResourcesRequired', u'focusHighlight', u'focusable', u'id', u'nav-down', u'nav-down-left', u'nav-down-right', u'nav-left', u'nav-next', u'nav-prev', u'nav-right', u'nav-up', u'nav-up-left', u'nav-up-right', u'property', u'rel', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'rev', u'role', u'systemLanguage', u'transform', u'typeof', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=property_names,
    children=[u'a', u'animate', u'animateColor', u'animateMotion', u'animateTransform', u'animation', u'audio', u'circle', u'defs', u'desc', u'discard', u'ellipse', u'font', u'font-face', u'foreignObject', u'g', u'handler', u'image', u'line', u'linearGradient', u'listener', u'metadata', u'path', u'polygon', u'polyline', u'prefetch', u'radialGradient', u'rect', u'script', u'set', u'solidColor', u'switch', u'text', u'textArea', u'title', u'use', u'video']),

    'glyph': SVGElement('glyph',
    attributes=[u'about', u'arabic-form', u'class', u'content', u'd', u'datatype', u'glyph-name', u'horiz-adv-x', u'id', u'lang', u'property', u'rel', u'resource', u'rev', u'role', u'typeof', u'unicode', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=None,
    children=[u'desc', u'metadata', u'switch', u'title']),

    'handler': SVGElement('handler',
    attributes=[u'about', u'class', u'content', u'datatype', u'ev:event', u'externalResourcesRequired', u'id', u'property', u'rel', u'resource', u'rev', u'role', u'type', u'typeof', u'xlink:actuate', u'xlink:arcrole', u'xlink:href', u'xlink:role', u'xlink:show', u'xlink:title', u'xlink:type', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=None,
    children=[u'desc', u'metadata', u'switch', u'title']),

    'hkern': SVGElement('hkern',
    attributes=[u'about', u'class', u'content', u'datatype', u'g1', u'g2', u'id', u'k', u'property', u'rel', u'resource', u'rev', u'role', u'typeof', u'u1', u'u2', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=None,
    children=[u'desc', u'metadata', u'switch', u'title']),

    'image': SVGElement('image',
    attributes=[u'about', u'class', u'content', u'datatype', u'externalResourcesRequired', u'focusHighlight', u'focusable', u'height', u'id', u'nav-down', u'nav-down-left', u'nav-down-right', u'nav-left', u'nav-next', u'nav-prev', u'nav-right', u'nav-up', u'nav-up-left', u'nav-up-right', u'opacity', u'preserveAspectRatio', u'property', u'rel', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'rev', u'role', u'systemLanguage', u'transform', u'type', u'typeof', u'width', u'x', u'xlink:actuate', u'xlink:arcrole', u'xlink:href', u'xlink:role', u'xlink:show', u'xlink:title', u'xlink:type', u'xml:base', u'xml:id', u'xml:lang', u'xml:space', u'y'],
    properties=media_group_names,
    children=[u'animate', u'animateColor', u'animateMotion', u'animateTransform', u'desc', u'discard', u'handler', u'metadata', u'set', u'switch', u'title']),

    'line': SVGElement('line',
    attributes=[u'about', u'class', u'content', u'datatype', u'focusHighlight', u'focusable', u'id', u'nav-down', u'nav-down-left', u'nav-down-right', u'nav-left', u'nav-next', u'nav-prev', u'nav-right', u'nav-up', u'nav-up-left', u'nav-up-right', u'property', u'rel', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'rev', u'role', u'systemLanguage', u'transform', u'typeof', u'x1', u'x2', u'xml:base', u'xml:id', u'xml:lang', u'xml:space', u'y1', u'y2'],
    properties=property_names,
    children=[u'animate', u'animateColor', u'animateMotion', u'animateTransform', u'desc', u'discard', u'handler', u'metadata', u'set', u'switch', u'title']),

    'linearGradient': SVGElement('linearGradient',
    attributes=[u'about', u'class', u'content', u'datatype', u'gradientUnits', u'id', u'property', u'rel', u'resource', u'rev', u'role', u'typeof', u'x1', u'x2', u'xml:base', u'xml:id', u'xml:lang', u'xml:space', u'y1', u'y2'],
    properties=property_names,
    children=[u'animate', u'animateColor', u'animateMotion', u'animateTransform', u'desc', u'discard', u'metadata', u'set', u'stop', u'switch', u'title']),

    'listener': SVGElement('listener',
    attributes=[u'about', u'class', u'content', u'datatype', u'defaultAction', u'event', u'handler', u'id', u'observer', u'phase', u'propagate', u'property', u'rel', u'resource', u'rev', u'role', u'target', u'typeof', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=None,
    children=None),

    'metadata': SVGElement('metadata',
    attributes=[u'about', u'class', u'content', u'datatype', u'id', u'property', u'rel', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'rev', u'role', u'systemLanguage', u'typeof', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=media_group_names,
    children=[]),

    'missing-glyph': SVGElement('missing-glyph',
    attributes=[u'about', u'class', u'content', u'd', u'datatype', u'horiz-adv-x', u'id', u'property', u'rel', u'resource', u'rev', u'role', u'typeof', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=None,
    children=[u'desc', u'metadata', u'switch', u'title']),

    'mpath': SVGElement('mpath',
    attributes=[u'about', u'class', u'content', u'datatype', u'id', u'property', u'rel', u'resource', u'rev', u'role', u'typeof', u'xlink:actuate', u'xlink:arcrole', u'xlink:href', u'xlink:role', u'xlink:show', u'xlink:title', u'xlink:type', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=None,
    children=[u'desc', u'metadata', u'switch', u'title']),

    'path': SVGElement('path',
    attributes=[u'about', u'class', u'content', u'd', u'datatype', u'focusHighlight', u'focusable', u'id', u'nav-down', u'nav-down-left', u'nav-down-right', u'nav-left', u'nav-next', u'nav-prev', u'nav-right', u'nav-up', u'nav-up-left', u'nav-up-right', u'pathLength', u'property', u'rel', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'rev', u'role', u'systemLanguage', u'transform', u'typeof', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=property_names,
    children=[u'animate', u'animateColor', u'animateMotion', u'animateTransform', u'desc', u'discard', u'handler', u'metadata', u'set', u'switch', u'title']),

    'polygon': SVGElement('polygon',
    attributes=[u'about', u'class', u'content', u'datatype', u'focusHighlight', u'focusable', u'id', u'nav-down', u'nav-down-left', u'nav-down-right', u'nav-left', u'nav-next', u'nav-prev', u'nav-right', u'nav-up', u'nav-up-left', u'nav-up-right', u'points', u'property', u'rel', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'rev', u'role', u'systemLanguage', u'transform', u'typeof', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=property_names,
    children=[u'animate', u'animateColor', u'animateMotion', u'animateTransform', u'desc', u'discard', u'handler', u'metadata', u'set', u'switch', u'title']),

    'polyline': SVGElement('polyline',
    attributes=[u'about', u'class', u'content', u'datatype', u'focusHighlight', u'focusable', u'id', u'nav-down', u'nav-down-left', u'nav-down-right', u'nav-left', u'nav-next', u'nav-prev', u'nav-right', u'nav-up', u'nav-up-left', u'nav-up-right', u'points', u'property', u'rel', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'rev', u'role', u'systemLanguage', u'transform', u'typeof', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=property_names,
    children=[u'animate', u'animateColor', u'animateMotion', u'animateTransform', u'desc', u'discard', u'handler', u'metadata', u'set', u'switch', u'title']),

    'prefetch': SVGElement('prefetch',
    attributes=[u'about', u'bandwidth', u'class', u'content', u'datatype', u'id', u'mediaCharacterEncoding', u'mediaContentEncodings', u'mediaSize', u'mediaTime', u'property', u'rel', u'resource', u'rev', u'role', u'typeof', u'xlink:actuate', u'xlink:arcrole', u'xlink:href', u'xlink:role', u'xlink:show', u'xlink:title', u'xlink:type', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=None,
    children=[u'desc', u'metadata', u'switch', u'title']),

    'radialGradient': SVGElement('radialGradient',
    attributes=[u'about', u'class', u'content', u'cx', u'cy', u'datatype', u'gradientUnits', u'id', u'property', u'r', u'rel', u'resource', u'rev', u'role', u'typeof', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=property_names,
    children=[u'animate', u'animateColor', u'animateMotion', u'animateTransform', u'desc', u'discard', u'metadata', u'set', u'stop', u'switch', u'title']),

    'rect': SVGElement('rect',
    attributes=[u'about', u'class', u'content', u'datatype', u'focusHighlight', u'focusable', u'height', u'id', u'nav-down', u'nav-down-left', u'nav-down-right', u'nav-left', u'nav-next', u'nav-prev', u'nav-right', u'nav-up', u'nav-up-left', u'nav-up-right', u'property', u'rel', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'rev', u'role', u'rx', u'ry', u'systemLanguage', u'transform', u'typeof', u'width', u'x', u'xml:base', u'xml:id', u'xml:lang', u'xml:space', u'y'],
    properties=property_names,
    children=[u'animate', u'animateColor', u'animateMotion', u'animateTransform', u'desc', u'discard', u'handler', u'metadata', u'set', u'switch', u'title']),

    'script': SVGElement('script',
    attributes=[u'about', u'class', u'content', u'datatype', u'externalResourcesRequired', u'id', u'property', u'rel', u'resource', u'rev', u'role', u'type', u'typeof', u'xlink:actuate', u'xlink:arcrole', u'xlink:href', u'xlink:role', u'xlink:show', u'xlink:title', u'xlink:type', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=None,
    children=[u'desc', u'metadata', u'switch', u'title']),

    'set': SVGElement('set',
    attributes=[u'about', u'attributeName', u'attributeType', u'begin', u'class', u'content', u'datatype', u'dur', u'end', u'fill', u'id', u'max', u'min', u'property', u'rel', u'repeatCount', u'repeatDur', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'restart', u'rev', u'role', u'systemLanguage', u'to', u'typeof', u'xlink:actuate', u'xlink:arcrole', u'xlink:href', u'xlink:role', u'xlink:show', u'xlink:title', u'xlink:type', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=None,
    children=[u'desc', u'handler', u'metadata', u'switch', u'title']),

    'solidColor': SVGElement('solidColor',
    attributes=[u'about', u'class', u'content', u'datatype', u'id', u'property', u'rel', u'resource', u'rev', u'role', u'typeof', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=property_names,
    children=[u'animate', u'animateColor', u'animateMotion', u'animateTransform', u'desc', u'discard', u'handler', u'metadata', u'set', u'switch', u'title']),

    'stop': SVGElement('stop',
    attributes=[u'about', u'class', u'content', u'datatype', u'id', u'offset', u'property', u'rel', u'resource', u'rev', u'role', u'typeof', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=property_names,
    children=[u'animate', u'animateColor', u'animateMotion', u'animateTransform', u'desc', u'discard', u'metadata', u'set', u'switch', u'title']),

    'svg': SVGElement('svg',
    attributes=[u'about', u'baseProfile', u'class', u'content', u'contentScriptType', u'datatype', u'externalResourcesRequired', u'focusHighlight', u'focusable', u'height', u'id', u'nav-down', u'nav-down-left', u'nav-down-right', u'nav-left', u'nav-next', u'nav-prev', u'nav-right', u'nav-up', u'nav-up-left', u'nav-up-right', u'playbackOrder', u'preserveAspectRatio', u'property', u'rel', u'resource', u'rev', u'role', u'snapshotTime', u'syncBehaviorDefault', u'syncToleranceDefault', u'timelineBegin', u'typeof', u'version', u'viewBox', u'width', u'xml:base', u'xml:id', u'xml:lang', u'xml:space', u'zoomAndPan'],
    properties=property_names,
    children=[u'a', u'animate', u'animateColor', u'animateMotion', u'animateTransform', u'animation', u'audio', u'circle', u'defs', u'desc', u'discard', u'ellipse', u'font', u'font-face', u'foreignObject', u'g', u'handler', u'image', u'line', u'linearGradient', u'listener', u'metadata', u'path', u'polygon', u'polyline', u'prefetch', u'radialGradient', u'rect', u'script', u'set', u'solidColor', u'switch', u'text', u'textArea', u'title', u'use', u'video']),

    'switch': SVGElement('switch',
    attributes=[u'about', u'class', u'content', u'datatype', u'externalResourcesRequired', u'focusHighlight', u'focusable', u'id', u'nav-down', u'nav-down-left', u'nav-down-right', u'nav-left', u'nav-next', u'nav-prev', u'nav-right', u'nav-up', u'nav-up-left', u'nav-up-right', u'property', u'rel', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'rev', u'role', u'systemLanguage', u'transform', u'typeof', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=property_names,
    children=['likeparent']),

    'tbreak': SVGElement('tbreak',
    attributes=[u'about', u'class', u'content', u'datatype', u'id', u'property', u'rel', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'rev', u'role', u'systemLanguage', u'typeof', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=None,
    children=None),

    'text': SVGElement('text',
    attributes=[u'about', u'class', u'content', u'datatype', u'editable', u'focusHighlight', u'focusable', u'id', u'nav-down', u'nav-down-left', u'nav-down-right', u'nav-left', u'nav-next', u'nav-prev', u'nav-right', u'nav-up', u'nav-up-left', u'nav-up-right', u'property', u'rel', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'rev', u'role', u'rotate', u'systemLanguage', u'transform', u'typeof', u'x', u'xml:base', u'xml:id', u'xml:lang', u'xml:space', u'y'],
    properties=property_names,
    children=[u'a', u'animate', u'animateColor', u'animateMotion', u'animateTransform', u'desc', u'discard', u'handler', u'metadata', u'set', u'switch', u'title', u'tspan']),

    'textArea': SVGElement('textArea',
    attributes=[u'about', u'class', u'content', u'datatype', u'editable', u'focusHighlight', u'focusable', u'height', u'id', u'nav-down', u'nav-down-left', u'nav-down-right', u'nav-left', u'nav-next', u'nav-prev', u'nav-right', u'nav-up', u'nav-up-left', u'nav-up-right', u'property', u'rel', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'rev', u'role', u'systemLanguage', u'transform', u'typeof', u'width', u'x', u'xml:base', u'xml:id', u'xml:lang', u'xml:space', u'y'],
    properties=property_names,
    children=[u'a', u'animate', u'animateColor', u'animateMotion', u'animateTransform', u'desc', u'discard', u'handler', u'metadata', u'set', u'switch', u'tbreak', u'title', u'tspan']),

    'title': SVGElement('title',
    attributes=[u'about', u'class', u'content', u'datatype', u'id', u'property', u'rel', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'rev', u'role', u'systemLanguage', u'typeof', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=media_group_names,
    children=[]),

    'tspan': SVGElement('tspan',
    attributes=[u'about', u'class', u'content', u'datatype', u'focusHighlight', u'focusable', u'id', u'nav-down', u'nav-down-left', u'nav-down-right', u'nav-left', u'nav-next', u'nav-prev', u'nav-right', u'nav-up', u'nav-up-left', u'nav-up-right', u'property', u'rel', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'rev', u'role', u'systemLanguage', u'typeof', u'xml:base', u'xml:id', u'xml:lang', u'xml:space'],
    properties=property_names,
    children=['likeparent']),

    'use': SVGElement('use',
    attributes=[u'about', u'class', u'content', u'datatype', u'externalResourcesRequired', u'focusHighlight', u'focusable', u'id', u'nav-down', u'nav-down-left', u'nav-down-right', u'nav-left', u'nav-next', u'nav-prev', u'nav-right', u'nav-up', u'nav-up-left', u'nav-up-right', u'property', u'rel', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'rev', u'role', u'systemLanguage', u'transform', u'typeof', u'x', u'xlink:actuate', u'xlink:arcrole', u'xlink:href', u'xlink:role', u'xlink:show', u'xlink:title', u'xlink:type', u'xml:base', u'xml:id', u'xml:lang', u'xml:space', u'y'],
    properties=property_names,
    children=[u'animate', u'animateColor', u'animateMotion', u'animateTransform', u'desc', u'discard', u'handler', u'metadata', u'set', u'switch', u'title']),

    'video': SVGElement('video',
    attributes=[u'about', u'begin', u'class', u'content', u'datatype', u'dur', u'end', u'externalResourcesRequired', u'fill', u'focusHighlight', u'focusable', u'height', u'id', u'initialVisibility', u'max', u'min', u'nav-down', u'nav-down-left', u'nav-down-right', u'nav-left', u'nav-next', u'nav-prev', u'nav-right', u'nav-up', u'nav-up-left', u'nav-up-right', u'overlay', u'preserveAspectRatio', u'property', u'rel', u'repeatCount', u'repeatDur', u'requiredExtensions', u'requiredFeatures', u'requiredFonts', u'requiredFormats', u'resource', u'restart', u'rev', u'role', u'syncBehavior', u'syncMaster', u'syncTolerance', u'systemLanguage', u'transform', u'transformBehavior', u'type', u'typeof', u'width', u'x', u'xlink:actuate', u'xlink:arcrole', u'xlink:href', u'xlink:role', u'xlink:show', u'xlink:title', u'xlink:type', u'xml:base', u'xml:id', u'xml:lang', u'xml:space', u'y'],
    properties=media_group_names,
    children=[u'animate', u'animateColor', u'animateMotion', u'animateTransform', u'desc', u'discard', u'handler', u'metadata', u'set', u'switch', u'title']),

}