xml2rfc 3.26.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. xml2rfc/__init__.py +68 -0
  2. xml2rfc/boilerplate_id_guidelines.py +28 -0
  3. xml2rfc/boilerplate_rfc_7841.py +575 -0
  4. xml2rfc/boilerplate_tlp.py +258 -0
  5. xml2rfc/data/SVG-1.2-RFC.rnc +1666 -0
  6. xml2rfc/data/SVG-1.2-RFC.rng +7460 -0
  7. xml2rfc/data/Scripts.txt +2693 -0
  8. xml2rfc/data/metadata.js +218 -0
  9. xml2rfc/data/metadata.min.js +1 -0
  10. xml2rfc/data/reference.rnc +955 -0
  11. xml2rfc/data/reference.rng +2158 -0
  12. xml2rfc/data/referencegroup.rnc +16 -0
  13. xml2rfc/data/referencegroup.rng +2180 -0
  14. xml2rfc/data/rfc7991.rnc +955 -0
  15. xml2rfc/data/rfc7991.rng +2143 -0
  16. xml2rfc/data/v2.rnc +309 -0
  17. xml2rfc/data/v2.rng +720 -0
  18. xml2rfc/data/v3.rnc +1144 -0
  19. xml2rfc/data/v3.rng +2538 -0
  20. xml2rfc/data/v3compat.dtd +630 -0
  21. xml2rfc/data/v3compat.rnc +985 -0
  22. xml2rfc/data/xml2rfc-v3-emacs-nxml.rnc +1083 -0
  23. xml2rfc/data/xml2rfc.css +1171 -0
  24. xml2rfc/data/xml2rfc.js +7 -0
  25. xml2rfc/debug.py +221 -0
  26. xml2rfc/log.py +54 -0
  27. xml2rfc/parser.py +815 -0
  28. xml2rfc/run.py +801 -0
  29. xml2rfc/scripts.py +52 -0
  30. xml2rfc/strings.py +26 -0
  31. xml2rfc/templates/address_card.html +21 -0
  32. xml2rfc/templates/base.html +415 -0
  33. xml2rfc/templates/doc.xml +367 -0
  34. xml2rfc/templates/doc.yaml +2138 -0
  35. xml2rfc/templates/rfc2629-other.ent +61 -0
  36. xml2rfc/templates/rfc2629-xhtml.ent +170 -0
  37. xml2rfc/templates/rfc2629.dtd +328 -0
  38. xml2rfc/uniscripts/__init__.py +97 -0
  39. xml2rfc/uniscripts/unidata.py +306 -0
  40. xml2rfc/uniscripts/update/make_unidata.py +94 -0
  41. xml2rfc/util/__init__.py +7 -0
  42. xml2rfc/util/date.py +94 -0
  43. xml2rfc/util/fonts.py +53 -0
  44. xml2rfc/util/name.py +229 -0
  45. xml2rfc/util/num.py +119 -0
  46. xml2rfc/util/postal.py +285 -0
  47. xml2rfc/util/unicode.py +441 -0
  48. xml2rfc/utils.py +672 -0
  49. xml2rfc/walkpdf.py +113 -0
  50. xml2rfc/writers/__init__.py +25 -0
  51. xml2rfc/writers/base.py +2248 -0
  52. xml2rfc/writers/bib.py +43 -0
  53. xml2rfc/writers/doc.py +354 -0
  54. xml2rfc/writers/expand.py +51 -0
  55. xml2rfc/writers/expanded_xml.py +39 -0
  56. xml2rfc/writers/html.py +3110 -0
  57. xml2rfc/writers/legacy_html.py +860 -0
  58. xml2rfc/writers/nroff.py +345 -0
  59. xml2rfc/writers/paginated_txt.py +432 -0
  60. xml2rfc/writers/pdf.py +230 -0
  61. xml2rfc/writers/preptool.py +2428 -0
  62. xml2rfc/writers/raw_txt.py +1453 -0
  63. xml2rfc/writers/text.py +5000 -0
  64. xml2rfc/writers/unprep.py +187 -0
  65. xml2rfc/writers/v2v3.py +1150 -0
  66. xml2rfc-3.26.0.dist-info/LICENSE +29 -0
  67. xml2rfc-3.26.0.dist-info/METADATA +178 -0
  68. xml2rfc-3.26.0.dist-info/RECORD +71 -0
  69. xml2rfc-3.26.0.dist-info/WHEEL +5 -0
  70. xml2rfc-3.26.0.dist-info/entry_points.txt +2 -0
  71. xml2rfc-3.26.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,1666 @@
1
+ #--- SVG 1.2 RFC rnc schema; Nevil Brownlee, Tue Jan 16 2018 (NZDT)
2
+
3
+ default namespace = "http://www.w3.org/2000/svg"
4
+ namespace xlink = "http://www.w3.org/1999/xlink"
5
+
6
+ rfc-color = ( # SVG-1.2-RFC doesn't allow "color or grey-scale"
7
+ "black" | "white" | "#000000" | "#FFFFFF" | "#ffffff" |
8
+ "currentColor" | "inherit" )
9
+
10
+ start = svg
11
+
12
+ svg =
13
+ element svg {
14
+ ((attribute fill-opacity { "inherit" | xsd:string }?,
15
+ attribute stroke-opacity { "inherit" | xsd:string }?)
16
+ & (attribute fill { "none" | rfc-color }?,
17
+ attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?,
18
+ attribute stroke { rfc-color }?,
19
+ attribute stroke-dasharray { "inherit" | "none" | xsd:string }?,
20
+ attribute stroke-dashoffset { "inherit" | xsd:string }?,
21
+ attribute stroke-linecap {
22
+ "butt" | "round" | "square" | "inherit"
23
+ }?,
24
+ attribute stroke-linejoin {
25
+ "miter" | "round" | "bevel" | "inherit"
26
+ }?,
27
+ attribute stroke-miterlimit { "inherit" | xsd:string }?,
28
+ attribute stroke-width { "inherit" | xsd:string }?,
29
+ attribute color { rfc-color }?,
30
+ attribute color-rendering {
31
+ "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit"
32
+ }?)
33
+ & attribute vector-effect {
34
+ "none" | "non-scaling-stroke" | "inherit"
35
+ }?
36
+ & (attribute direction { "ltr" | "rtl" | "inherit" }?,
37
+ attribute unicode-bidi {
38
+ "normal" | "embed" | "bidi-override" | "inherit"
39
+ }?)
40
+ & (attribute solid-color { rfc-color }?,
41
+ attribute solid-opacity { "inherit" | xsd:string }?)
42
+ & (attribute display-align {
43
+ "auto" | "before" | "center" | "after" | "inherit"
44
+ }?,
45
+ attribute line-increment { "auto" | "inherit" | xsd:string }?)
46
+ & (attribute stop-color { rfc-color }?,
47
+ attribute stop-opacity { "inherit" | xsd:string }?)
48
+ & (attribute font-family { "serif" | "sans-serif" | "monospace"
49
+ | "inherit" }?,
50
+ attribute font-size { "inherit" | xsd:string }?,
51
+ attribute font-style {
52
+ "normal" | "italic" | "oblique" | "inherit"
53
+ }?,
54
+ attribute font-variant { "normal" | "small-caps" | "inherit" }?,
55
+ attribute font-weight {
56
+ "normal"
57
+ | "bold"
58
+ | "bolder"
59
+ | "lighter"
60
+ }?,
61
+ attribute text-anchor {
62
+ "start" | "middle" | "end" | "inherit"}?,
63
+ attribute text-align {
64
+ "start" | "center" | "end" | "inherit"
65
+ }?)),
66
+ (attribute id { xsd:NCName }
67
+ | attribute xml:id { xsd:NCName })?,
68
+ attribute xml:base { xsd:anyURI | xsd:string }?,
69
+ attribute xml:lang { xsd:language? }?,
70
+ attribute class { xsd:NMTOKENS }?,
71
+ attribute role { xsd:string }?,
72
+ attribute rel { xsd:string }?,
73
+ attribute rev { xsd:string }?,
74
+ attribute typeof { xsd:string }?,
75
+ attribute content { xsd:string }?,
76
+ attribute datatype { xsd:string }?,
77
+ attribute resource { xsd:string }?,
78
+ attribute about { xsd:string }?,
79
+ attribute property { xsd:string }?,
80
+ attribute xml:space { "default" | "preserve" }?,
81
+ attribute width { xsd:string }?,
82
+ attribute height { xsd:string }?,
83
+ attribute preserveAspectRatio {
84
+ xsd:string { pattern = "\s*(none|xMidYMid)\s*(meet)?\s*" }
85
+ }?,
86
+ attribute viewBox { text }?,
87
+ attribute version {
88
+ xsd:string "1.0" | xsd:string "1.1" | xsd:string "1.2"
89
+ }?,
90
+ attribute baseProfile {
91
+ xsd:string "none"
92
+ | xsd:string "tiny"
93
+ | xsd:string "basic"
94
+ | xsd:string "full"
95
+ }?,
96
+ attribute snapshotTime { xsd:string "none" | xsd:string }?,
97
+ (desc
98
+ | svgTitle
99
+ | path
100
+ | rect
101
+ | circle
102
+ | line
103
+ | ellipse
104
+ | polyline
105
+ | polygon
106
+ | solidColor
107
+ | textArea
108
+ | \text
109
+ | g
110
+ | defs
111
+ | use
112
+ | a)*
113
+ }
114
+
115
+ desc =
116
+ element desc {
117
+ (attribute id { xsd:NCName }
118
+ | attribute xml:id { xsd:NCName })?,
119
+ attribute xml:base { xsd:anyURI | xsd:string }?,
120
+ attribute xml:lang { xsd:language? }?,
121
+ attribute class { xsd:NMTOKENS }?,
122
+ attribute role { xsd:string }?,
123
+ attribute rel { xsd:string }?,
124
+ attribute rev { xsd:string }?,
125
+ attribute typeof { xsd:string }?,
126
+ attribute content { xsd:string }?,
127
+ attribute datatype { xsd:string }?,
128
+ attribute resource { xsd:string }?,
129
+ attribute about { xsd:string }?,
130
+ attribute property { xsd:string }?,
131
+ attribute xml:space { "default" | "preserve" }?,
132
+ ((attribute display {
133
+ "inline"
134
+ | "block"
135
+ | "list-item"
136
+ | "run-in"
137
+ | "compact"
138
+ | "marker"
139
+ | "table"
140
+ | "inline-table"
141
+ | "table-row-group"
142
+ | "table-header-group"
143
+ | "table-footer-group"
144
+ | "table-row"
145
+ | "table-column-group"
146
+ | "table-column"
147
+ | "table-cell"
148
+ | "table-caption"
149
+ | "none"
150
+ | "inherit"
151
+ }?,
152
+ attribute visibility { "visible" | "hidden" | "collapse" | "inherit" }?,
153
+ attribute image-rendering {
154
+ "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit"
155
+ }?,
156
+ attribute shape-rendering {
157
+ "auto"
158
+ | "optimizeSpeed"
159
+ | "crispEdges"
160
+ | "geometricPrecision"
161
+ | "inherit"
162
+ }?,
163
+ attribute text-rendering {
164
+ "auto"
165
+ | "optimizeSpeed"
166
+ | "optimizeLegibility"
167
+ | "geometricPrecision"
168
+ | "inherit"
169
+ }?,
170
+ attribute buffered-rendering {
171
+ "auto" | "dynamic" | "static" | "inherit"
172
+ }?)
173
+ & (attribute viewport-fill { "none" | rfc-color }?,
174
+ attribute viewport-fill-opacity { "inherit" | xsd:string }?)),
175
+ text
176
+ }
177
+
178
+ svgTitle =
179
+ element title {
180
+ (attribute id { xsd:NCName }
181
+ | attribute xml:id { xsd:NCName })?,
182
+ attribute xml:base { xsd:anyURI | xsd:string }?,
183
+ attribute xml:lang { xsd:language? }?,
184
+ attribute class { xsd:NMTOKENS }?,
185
+ attribute role { xsd:string }?,
186
+ attribute rel { xsd:string }?,
187
+ attribute rev { xsd:string }?,
188
+ attribute typeof { xsd:string }?,
189
+ attribute content { xsd:string }?,
190
+ attribute datatype { xsd:string }?,
191
+ attribute resource { xsd:string }?,
192
+ attribute about { xsd:string }?,
193
+ attribute property { xsd:string }?,
194
+ attribute xml:space { "default" | "preserve" }?,
195
+ ((attribute display {
196
+ "inline"
197
+ | "block"
198
+ | "list-item"
199
+ | "run-in"
200
+ | "compact"
201
+ | "marker"
202
+ | "table"
203
+ | "inline-table"
204
+ | "table-row-group"
205
+ | "table-header-group"
206
+ | "table-footer-group"
207
+ | "table-row"
208
+ | "table-column-group"
209
+ | "table-column"
210
+ | "table-cell"
211
+ | "table-caption"
212
+ | "none"
213
+ | "inherit"
214
+ }?,
215
+ attribute visibility { "visible" | "hidden" | "collapse" | "inherit" }?,
216
+ attribute image-rendering {
217
+ "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit"
218
+ }?,
219
+ attribute shape-rendering {
220
+ "auto"
221
+ | "optimizeSpeed"
222
+ | "crispEdges"
223
+ | "geometricPrecision"
224
+ | "inherit"
225
+ }?,
226
+ attribute text-rendering {
227
+ "auto"
228
+ | "optimizeSpeed"
229
+ | "optimizeLegibility"
230
+ | "geometricPrecision"
231
+ | "inherit"
232
+ }?,
233
+ attribute buffered-rendering {
234
+ "auto" | "dynamic" | "static" | "inherit"
235
+ }?)
236
+ & (attribute viewport-fill { "none" | rfc-color }?,
237
+ attribute viewport-fill-opacity { "inherit" | xsd:string }?)),
238
+ text
239
+ }
240
+
241
+ path =
242
+ element path {
243
+ (attribute id { xsd:NCName }
244
+ | attribute xml:id { xsd:NCName })?,
245
+ attribute xml:base { xsd:anyURI | xsd:string }?,
246
+ attribute xml:lang { xsd:language? }?,
247
+ attribute class { xsd:NMTOKENS }?,
248
+ attribute role { xsd:string }?,
249
+ attribute rel { xsd:string }?,
250
+ attribute rev { xsd:string }?,
251
+ attribute typeof { xsd:string }?,
252
+ attribute content { xsd:string }?,
253
+ attribute datatype { xsd:string }?,
254
+ attribute resource { xsd:string }?,
255
+ attribute about { xsd:string }?,
256
+ attribute property { xsd:string }?,
257
+ attribute xml:space { "default" | "preserve" }?,
258
+ attribute transform { xsd:string | "none" }?,
259
+ ((attribute fill-opacity { "inherit" | xsd:string }?,
260
+ attribute stroke-opacity { "inherit" | xsd:string }?)
261
+ & (attribute fill { "none" | rfc-color }?,
262
+ attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?,
263
+ attribute stroke { rfc-color }?,
264
+ attribute stroke-dasharray { "inherit" | "none" | xsd:string }?,
265
+ attribute stroke-dashoffset { "inherit" | xsd:string }?,
266
+ attribute stroke-linecap {
267
+ "butt" | "round" | "square" | "inherit"
268
+ }?,
269
+ attribute stroke-linejoin {
270
+ "miter" | "round" | "bevel" | "inherit"
271
+ }?,
272
+ attribute stroke-miterlimit { "inherit" | xsd:string }?,
273
+ attribute stroke-width { "inherit" | xsd:string }?,
274
+ attribute color { rfc-color }?,
275
+ attribute color-rendering {
276
+ "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit"
277
+ }?)
278
+ & attribute vector-effect {
279
+ "none" | "non-scaling-stroke" | "inherit"
280
+ }?
281
+ & (attribute direction { "ltr" | "rtl" | "inherit" }?,
282
+ attribute unicode-bidi {
283
+ "normal" | "embed" | "bidi-override" | "inherit"
284
+ }?)
285
+ & (attribute solid-color { rfc-color }?,
286
+ attribute solid-opacity { "inherit" | xsd:string }?)
287
+ & (attribute display-align {
288
+ "auto" | "before" | "center" | "after" | "inherit"
289
+ }?,
290
+ attribute line-increment { "auto" | "inherit" | xsd:string }?)
291
+ & (attribute stop-color { rfc-color }?,
292
+ attribute stop-opacity { "inherit" | xsd:string }?)
293
+ & (attribute font-family { "serif" | "sans-serif" | "monospace"
294
+ | "inherit" }?,
295
+ attribute font-size { "inherit" | xsd:string }?,
296
+ attribute font-style {
297
+ "normal" | "italic" | "oblique" | "inherit"
298
+ }?,
299
+ attribute font-variant { "normal" | "small-caps" | "inherit" }?,
300
+ attribute font-weight {
301
+ "normal"
302
+ | "bold"
303
+ | "bolder"
304
+ | "lighter"
305
+ | "inherit"
306
+ }?,
307
+ attribute text-anchor {
308
+ "start" | "middle" | "end" | "inherit"
309
+ }?,
310
+ attribute text-align {
311
+ "start" | "center" | "end" | "inherit"
312
+ }?)),
313
+ attribute d { xsd:string }?,
314
+ attribute pathLength { xsd:string }?,
315
+ (desc
316
+ | svgTitle)*
317
+ }
318
+
319
+ rect =
320
+ element rect {
321
+ (attribute id { xsd:NCName }
322
+ | attribute xml:id { xsd:NCName })?,
323
+ attribute xml:base { xsd:anyURI | xsd:string }?,
324
+ attribute xml:lang { xsd:language? }?,
325
+ attribute class { xsd:NMTOKENS }?,
326
+ attribute role { xsd:string }?,
327
+ attribute rel { xsd:string }?,
328
+ attribute rev { xsd:string }?,
329
+ attribute typeof { xsd:string }?,
330
+ attribute content { xsd:string }?,
331
+ attribute datatype { xsd:string }?,
332
+ attribute resource { xsd:string }?,
333
+ attribute about { xsd:string }?,
334
+ attribute property { xsd:string }?,
335
+ attribute xml:space { "default" | "preserve" }?,
336
+ attribute transform { xsd:string | "none" }?,
337
+ ((attribute fill-opacity { "inherit" | xsd:string }?,
338
+ attribute stroke-opacity { "inherit" | xsd:string }?)
339
+ & (attribute fill { "none" | rfc-color }?,
340
+ attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?,
341
+ attribute stroke { rfc-color }?,
342
+ attribute stroke-dasharray { "inherit" | "none" | xsd:string }?,
343
+ attribute stroke-dashoffset { "inherit" | xsd:string }?,
344
+ attribute stroke-linecap {
345
+ "butt" | "round" | "square" | "inherit"
346
+ }?,
347
+ attribute stroke-linejoin {
348
+ "miter" | "round" | "bevel" | "inherit"
349
+ }?,
350
+ attribute stroke-miterlimit { "inherit" | xsd:string }?,
351
+ attribute stroke-width { "inherit" | xsd:string }?,
352
+ attribute color { rfc-color }?,
353
+ attribute color-rendering {
354
+ "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit"
355
+ }?)
356
+ & attribute vector-effect {
357
+ "none" | "non-scaling-stroke" | "inherit"
358
+ }?
359
+ & (attribute direction { "ltr" | "rtl" | "inherit" }?,
360
+ attribute unicode-bidi {
361
+ "normal" | "embed" | "bidi-override" | "inherit"
362
+ }?)
363
+ & (attribute solid-color { rfc-color }?,
364
+ attribute solid-opacity { "inherit" | xsd:string }?)
365
+ & (attribute display-align {
366
+ "auto" | "before" | "center" | "after" | "inherit"
367
+ }?,
368
+ attribute line-increment { "auto" | "inherit" | xsd:string }?)
369
+ & (attribute stop-color { rfc-color }?,
370
+ attribute stop-opacity { "inherit" | xsd:string }?)
371
+ & (attribute font-family { "serif" | "sans-serif" | "monospace"
372
+ | "inherit" }?,
373
+ attribute font-size { "inherit" | xsd:string }?,
374
+ attribute font-style {
375
+ "normal" | "italic" | "oblique" | "inherit"
376
+ }?,
377
+ attribute font-variant { "normal" | "small-caps" | "inherit" }?,
378
+ attribute font-weight {
379
+ "normal"
380
+ | "bold"
381
+ | "bolder"
382
+ | "lighter"
383
+ | "inherit"
384
+ }?,
385
+ attribute text-anchor {
386
+ "start" | "middle" | "end" | "inherit"
387
+ }?,
388
+ attribute text-align {
389
+ "start" | "center" | "end" | "inherit"
390
+ }?)),
391
+ attribute x { xsd:string }?,
392
+ attribute y { xsd:string }?,
393
+ attribute width { xsd:string }?,
394
+ attribute height { xsd:string }?,
395
+ attribute rx { xsd:string }?,
396
+ attribute ry { xsd:string }?,
397
+ (desc
398
+ | svgTitle)*
399
+ }
400
+
401
+ circle =
402
+ element circle {
403
+ (attribute id { xsd:NCName }
404
+ | attribute xml:id { xsd:NCName })?,
405
+ attribute xml:base { xsd:anyURI | xsd:string }?,
406
+ attribute xml:lang { xsd:language? }?,
407
+ attribute class { xsd:NMTOKENS }?,
408
+ attribute role { xsd:string }?,
409
+ attribute rel { xsd:string }?,
410
+ attribute rev { xsd:string }?,
411
+ attribute typeof { xsd:string }?,
412
+ attribute content { xsd:string }?,
413
+ attribute datatype { xsd:string }?,
414
+ attribute resource { xsd:string }?,
415
+ attribute about { xsd:string }?,
416
+ attribute property { xsd:string }?,
417
+ attribute xml:space { "default" | "preserve" }?,
418
+ attribute transform { xsd:string | "none" }?,
419
+ ((attribute fill-opacity { "inherit" | xsd:string }?,
420
+ attribute stroke-opacity { "inherit" | xsd:string }?)
421
+ & (attribute fill { "none" | rfc-color }?,
422
+ attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?,
423
+ attribute stroke { rfc-color }?,
424
+ attribute stroke-dasharray { "inherit" | "none" | xsd:string }?,
425
+ attribute stroke-dashoffset { "inherit" | xsd:string }?,
426
+ attribute stroke-linecap {
427
+ "butt" | "round" | "square" | "inherit"
428
+ }?,
429
+ attribute stroke-linejoin {
430
+ "miter" | "round" | "bevel" | "inherit"
431
+ }?,
432
+ attribute stroke-miterlimit { "inherit" | xsd:string }?,
433
+ attribute stroke-width { "inherit" | xsd:string }?,
434
+ attribute color { rfc-color }?,
435
+ attribute color-rendering {
436
+ "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit"
437
+ }?)
438
+ & attribute vector-effect {
439
+ "none" | "non-scaling-stroke" | "inherit"
440
+ }?
441
+ & (attribute direction { "ltr" | "rtl" | "inherit" }?,
442
+ attribute unicode-bidi {
443
+ "normal" | "embed" | "bidi-override" | "inherit"
444
+ }?)
445
+ & (attribute solid-color { rfc-color }?,
446
+ attribute solid-opacity { "inherit" | xsd:string }?)
447
+ & (attribute display-align {
448
+ "auto" | "before" | "center" | "after" | "inherit"
449
+ }?,
450
+ attribute line-increment { "auto" | "inherit" | xsd:string }?)
451
+ & (attribute stop-color { rfc-color }?,
452
+ attribute stop-opacity { "inherit" | xsd:string }?)
453
+ & (attribute font-family { "serif" | "sans-serif" | "monospace"
454
+ | "inherit" }?,
455
+ attribute font-size { "inherit" | xsd:string }?,
456
+ attribute font-style {
457
+ "normal" | "italic" | "oblique" | "inherit"
458
+ }?,
459
+ attribute font-variant { "normal" | "small-caps" | "inherit" }?,
460
+ attribute font-weight {
461
+ "normal"
462
+ | "bold"
463
+ | "bolder"
464
+ | "lighter"
465
+ | "inherit"
466
+ }?,
467
+ attribute text-anchor {
468
+ "start" | "middle" | "end" | "inherit"
469
+ }?,
470
+ attribute text-align {
471
+ "start" | "center" | "end" | "inherit"
472
+ }?)),
473
+ attribute cx { xsd:string }?,
474
+ attribute cy { xsd:string }?,
475
+ attribute r { xsd:string }?,
476
+ (desc
477
+ | svgTitle)*
478
+ }
479
+
480
+ line =
481
+ element line {
482
+ (attribute id { xsd:NCName }
483
+ | attribute xml:id { xsd:NCName })?,
484
+ attribute xml:base { xsd:anyURI | xsd:string }?,
485
+ attribute xml:lang { xsd:language? }?,
486
+ attribute class { xsd:NMTOKENS }?,
487
+ attribute role { xsd:string }?,
488
+ attribute rel { xsd:string }?,
489
+ attribute rev { xsd:string }?,
490
+ attribute typeof { xsd:string }?,
491
+ attribute content { xsd:string }?,
492
+ attribute datatype { xsd:string }?,
493
+ attribute resource { xsd:string }?,
494
+ attribute about { xsd:string }?,
495
+ attribute property { xsd:string }?,
496
+ attribute xml:space { "default" | "preserve" }?,
497
+ attribute transform { xsd:string | "none" }?,
498
+ ((attribute fill-opacity { "inherit" | xsd:string }?,
499
+ attribute stroke-opacity { "inherit" | xsd:string }?)
500
+ & (attribute fill { "none" | rfc-color }?,
501
+ attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?,
502
+ attribute stroke { rfc-color }?,
503
+ attribute stroke-dasharray { "inherit" | "none" | xsd:string }?,
504
+ attribute stroke-dashoffset { "inherit" | xsd:string }?,
505
+ attribute stroke-linecap {
506
+ "butt" | "round" | "square" | "inherit"
507
+ }?,
508
+ attribute stroke-linejoin {
509
+ "miter" | "round" | "bevel" | "inherit"
510
+ }?,
511
+ attribute stroke-miterlimit { "inherit" | xsd:string }?,
512
+ attribute stroke-width { "inherit" | xsd:string }?,
513
+ attribute color { rfc-color }?,
514
+ attribute color-rendering {
515
+ "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit"
516
+ }?)
517
+ & attribute vector-effect {
518
+ "none" | "non-scaling-stroke" | "inherit"
519
+ }?
520
+ & (attribute direction { "ltr" | "rtl" | "inherit" }?,
521
+ attribute unicode-bidi {
522
+ "normal" | "embed" | "bidi-override" | "inherit"
523
+ }?)
524
+ & (attribute solid-color { rfc-color }?,
525
+ attribute solid-opacity { "inherit" | xsd:string }?)
526
+ & (attribute display-align {
527
+ "auto" | "before" | "center" | "after" | "inherit"
528
+ }?,
529
+ attribute line-increment { "auto" | "inherit" | xsd:string }?)
530
+ & (attribute stop-color { rfc-color }?,
531
+ attribute stop-opacity { "inherit" | xsd:string }?)
532
+ & (attribute font-family { "serif" | "sans-serif" | "monospace"
533
+ | "inherit" }?,
534
+ attribute font-size { "inherit" | xsd:string }?,
535
+ attribute font-style {
536
+ "normal" | "italic" | "oblique" | "inherit"
537
+ }?,
538
+ attribute font-variant { "normal" | "small-caps" | "inherit" }?,
539
+ attribute font-weight {
540
+ "normal"
541
+ | "bold"
542
+ | "bolder"
543
+ | "lighter"
544
+ | "inherit"
545
+ }?,
546
+ attribute text-anchor {
547
+ "start" | "middle" | "end" | "inherit"
548
+ }?,
549
+ attribute text-align {
550
+ "start" | "center" | "end" | "inherit"
551
+ }?)),
552
+ attribute x1 { xsd:string }?,
553
+ attribute y1 { xsd:string }?,
554
+ attribute x2 { xsd:string }?,
555
+ attribute y2 { xsd:string }?,
556
+ (desc
557
+ | svgTitle)*
558
+ }
559
+
560
+ ellipse =
561
+ element ellipse {
562
+ (attribute id { xsd:NCName }
563
+ | attribute xml:id { xsd:NCName })?,
564
+ attribute xml:base { xsd:anyURI | xsd:string }?,
565
+ attribute xml:lang { xsd:language? }?,
566
+ attribute class { xsd:NMTOKENS }?,
567
+ attribute role { xsd:string }?,
568
+ attribute rel { xsd:string }?,
569
+ attribute rev { xsd:string }?,
570
+ attribute typeof { xsd:string }?,
571
+ attribute content { xsd:string }?,
572
+ attribute datatype { xsd:string }?,
573
+ attribute resource { xsd:string }?,
574
+ attribute about { xsd:string }?,
575
+ attribute property { xsd:string }?,
576
+ attribute xml:space { "default" | "preserve" }?,
577
+ attribute transform { xsd:string | "none" }?,
578
+ ((attribute fill-opacity { "inherit" | xsd:string }?,
579
+ attribute stroke-opacity { "inherit" | xsd:string }?)
580
+ & (attribute fill { "none" | rfc-color }?,
581
+ attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?,
582
+ attribute stroke { rfc-color }?,
583
+ attribute stroke-dasharray { "inherit" | "none" | xsd:string }?,
584
+ attribute stroke-dashoffset { "inherit" | xsd:string }?,
585
+ attribute stroke-linecap {
586
+ "butt" | "round" | "square" | "inherit"
587
+ }?,
588
+ attribute stroke-linejoin {
589
+ "miter" | "round" | "bevel" | "inherit"
590
+ }?,
591
+ attribute stroke-miterlimit { "inherit" | xsd:string }?,
592
+ attribute stroke-width { "inherit" | xsd:string }?,
593
+ attribute color { rfc-color }?,
594
+ attribute color-rendering {
595
+ "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit"
596
+ }?)
597
+ & attribute vector-effect {
598
+ "none" | "non-scaling-stroke" | "inherit"
599
+ }?
600
+ & (attribute direction { "ltr" | "rtl" | "inherit" }?,
601
+ attribute unicode-bidi {
602
+ "normal" | "embed" | "bidi-override" | "inherit"
603
+ }?)
604
+ & (attribute solid-color { rfc-color }?,
605
+ attribute solid-opacity { "inherit" | xsd:string }?)
606
+ & (attribute display-align {
607
+ "auto" | "before" | "center" | "after" | "inherit"
608
+ }?,
609
+ attribute line-increment { "auto" | "inherit" | xsd:string }?)
610
+ & (attribute stop-color { rfc-color }?,
611
+ attribute stop-opacity { "inherit" | xsd:string }?)
612
+ & (attribute font-family { "serif" | "sans-serif" | "monospace"
613
+ | "inherit" }?,
614
+ attribute font-size { "inherit" | xsd:string }?,
615
+ attribute font-style {
616
+ "normal" | "italic" | "oblique" | "inherit"
617
+ }?,
618
+ attribute font-variant { "normal" | "small-caps" | "inherit" }?,
619
+ attribute font-weight {
620
+ "normal"
621
+ | "bold"
622
+ | "bolder"
623
+ | "lighter"
624
+ | "inherit"
625
+ }?,
626
+ attribute text-anchor {
627
+ "start" | "middle" | "end" | "inherit"
628
+ }?,
629
+ attribute text-align {
630
+ "start" | "center" | "end" | "inherit"
631
+ }?)),
632
+ attribute rx { xsd:string }?,
633
+ attribute ry { xsd:string }?,
634
+ attribute cx { xsd:string }?,
635
+ attribute cy { xsd:string }?,
636
+ (desc
637
+ | svgTitle)*
638
+ }
639
+
640
+ polyline =
641
+ element polyline {
642
+ (attribute id { xsd:NCName }
643
+ | attribute xml:id { xsd:NCName })?,
644
+ attribute xml:base { xsd:anyURI | xsd:string }?,
645
+ attribute xml:lang { xsd:language? }?,
646
+ attribute class { xsd:NMTOKENS }?,
647
+ attribute role { xsd:string }?,
648
+ attribute rel { xsd:string }?,
649
+ attribute rev { xsd:string }?,
650
+ attribute typeof { xsd:string }?,
651
+ attribute content { xsd:string }?,
652
+ attribute datatype { xsd:string }?,
653
+ attribute resource { xsd:string }?,
654
+ attribute about { xsd:string }?,
655
+ attribute property { xsd:string }?,
656
+ attribute xml:space { "default" | "preserve" }?,
657
+ attribute transform { xsd:string | "none" }?,
658
+ ((attribute fill-opacity { "inherit" | xsd:string }?,
659
+ attribute stroke-opacity { "inherit" | xsd:string }?)
660
+ & (attribute fill { "none" | rfc-color }?,
661
+ attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?,
662
+ attribute stroke { rfc-color }?,
663
+ attribute stroke-dasharray { "inherit" | "none" | xsd:string }?,
664
+ attribute stroke-dashoffset { "inherit" | xsd:string }?,
665
+ attribute stroke-linecap {
666
+ "butt" | "round" | "square" | "inherit"
667
+ }?,
668
+ attribute stroke-linejoin {
669
+ "miter" | "round" | "bevel" | "inherit"
670
+ }?,
671
+ attribute stroke-miterlimit { "inherit" | xsd:string }?,
672
+ attribute stroke-width { "inherit" | xsd:string }?,
673
+ attribute color { rfc-color }?,
674
+ attribute color-rendering {
675
+ "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit"
676
+ }?)
677
+ & attribute vector-effect {
678
+ "none" | "non-scaling-stroke" | "inherit"
679
+ }?
680
+ & (attribute direction { "ltr" | "rtl" | "inherit" }?,
681
+ attribute unicode-bidi {
682
+ "normal" | "embed" | "bidi-override" | "inherit"
683
+ }?)
684
+ & (attribute solid-color { rfc-color }?,
685
+ attribute solid-opacity { "inherit" | xsd:string }?)
686
+ & (attribute display-align {
687
+ "auto" | "before" | "center" | "after" | "inherit"
688
+ }?,
689
+ attribute line-increment { "auto" | "inherit" | xsd:string }?)
690
+ & (attribute stop-color { rfc-color }?,
691
+ attribute stop-opacity { "inherit" | xsd:string }?)
692
+ & (attribute font-family { "serif" | "sans-serif" | "monospace"
693
+ | "inherit" }?,
694
+ attribute font-size { "inherit" | xsd:string }?,
695
+ attribute font-style {
696
+ "normal" | "italic" | "oblique" | "inherit"
697
+ }?,
698
+ attribute font-variant { "normal" | "small-caps" | "inherit" }?,
699
+ attribute font-weight {
700
+ "normal"
701
+ | "bold"
702
+ | "bolder"
703
+ | "lighter"
704
+ | "inherit"
705
+ }?,
706
+ attribute text-anchor {
707
+ "start" | "middle" | "end" | "inherit"
708
+ }?,
709
+ attribute text-align {
710
+ "start" | "center" | "end" | "inherit"
711
+ }?)),
712
+ attribute points { xsd:string }?,
713
+ (desc
714
+ | svgTitle)*
715
+ }
716
+
717
+ polygon =
718
+ element polygon {
719
+ (attribute id { xsd:NCName }
720
+ | attribute xml:id { xsd:NCName })?,
721
+ attribute xml:base { xsd:anyURI | xsd:string }?,
722
+ attribute xml:lang { xsd:language? }?,
723
+ attribute class { xsd:NMTOKENS }?,
724
+ attribute role { xsd:string }?,
725
+ attribute rel { xsd:string }?,
726
+ attribute rev { xsd:string }?,
727
+ attribute typeof { xsd:string }?,
728
+ attribute content { xsd:string }?,
729
+ attribute datatype { xsd:string }?,
730
+ attribute resource { xsd:string }?,
731
+ attribute about { xsd:string }?,
732
+ attribute property { xsd:string }?,
733
+ attribute xml:space { "default" | "preserve" }?,
734
+ attribute transform { xsd:string | "none" }?,
735
+ ((attribute fill-opacity { "inherit" | xsd:string }?,
736
+ attribute stroke-opacity { "inherit" | xsd:string }?)
737
+ & (attribute fill { "none" | rfc-color }?,
738
+ attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?,
739
+ attribute stroke { rfc-color }?,
740
+ attribute stroke-dasharray { "inherit" | "none" | xsd:string }?,
741
+ attribute stroke-dashoffset { "inherit" | xsd:string }?,
742
+ attribute stroke-linecap {
743
+ "butt" | "round" | "square" | "inherit"
744
+ }?,
745
+ attribute stroke-linejoin {
746
+ "miter" | "round" | "bevel" | "inherit"
747
+ }?,
748
+ attribute stroke-miterlimit { "inherit" | xsd:string }?,
749
+ attribute stroke-width { "inherit" | xsd:string }?,
750
+ attribute color { rfc-color }?,
751
+ attribute color-rendering {
752
+ "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit"
753
+ }?)
754
+ & attribute vector-effect {
755
+ "none" | "non-scaling-stroke" | "inherit"
756
+ }?
757
+ & (attribute direction { "ltr" | "rtl" | "inherit" }?,
758
+ attribute unicode-bidi {
759
+ "normal" | "embed" | "bidi-override" | "inherit"
760
+ }?)
761
+ & (attribute solid-color { rfc-color }?,
762
+ attribute solid-opacity { "inherit" | xsd:string }?)
763
+ & (attribute display-align {
764
+ "auto" | "before" | "center" | "after" | "inherit"
765
+ }?,
766
+ attribute line-increment { "auto" | "inherit" | xsd:string }?)
767
+ & (attribute stop-color { rfc-color }?,
768
+ attribute stop-opacity { "inherit" | xsd:string }?)
769
+ & (attribute font-family { "serif" | "sans-serif" | "monospace"
770
+ | "inherit" }?,
771
+ attribute font-size { "inherit" | xsd:string }?,
772
+ attribute font-style {
773
+ "normal" | "italic" | "oblique" | "inherit"
774
+ }?,
775
+ attribute font-variant { "normal" | "small-caps" | "inherit" }?,
776
+ attribute font-weight {
777
+ "normal"
778
+ | "bold"
779
+ | "bolder"
780
+ | "lighter"
781
+ | "inherit"
782
+ }?,
783
+ attribute text-anchor {
784
+ "start" | "middle" | "end" | "inherit"
785
+ }?,
786
+ attribute text-align {
787
+ "start" | "center" | "end" | "inherit"
788
+ }?)),
789
+ attribute points { xsd:string }?,
790
+ (desc
791
+ | svgTitle)*
792
+ }
793
+
794
+ solidColor =
795
+ element solidColor {
796
+ ((attribute fill-opacity { "inherit" | xsd:string }?,
797
+ attribute stroke-opacity { "inherit" | xsd:string }?)
798
+ & (attribute fill { "none" | rfc-color }?,
799
+ attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?,
800
+ attribute stroke { rfc-color }?,
801
+ attribute stroke-dasharray { "inherit" | "none" | xsd:string }?,
802
+ attribute stroke-dashoffset { "inherit" | xsd:string }?,
803
+ attribute stroke-linecap {
804
+ "butt" | "round" | "square" | "inherit"
805
+ }?,
806
+ attribute stroke-linejoin {
807
+ "miter" | "round" | "bevel" | "inherit"
808
+ }?,
809
+ attribute stroke-miterlimit { "inherit" | xsd:string }?,
810
+ attribute stroke-width { "inherit" | xsd:string }?,
811
+ attribute color { rfc-color }?,
812
+ attribute color-rendering {
813
+ "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit"
814
+ }?)
815
+ & attribute vector-effect {
816
+ "none" | "non-scaling-stroke" | "inherit"
817
+ }?
818
+ & (attribute direction { "ltr" | "rtl" | "inherit" }?,
819
+ attribute unicode-bidi {
820
+ "normal" | "embed" | "bidi-override" | "inherit"
821
+ }?)
822
+ & (attribute solid-color { rfc-color }?,
823
+ attribute solid-opacity { "inherit" | xsd:string }?)
824
+ & (attribute display-align {
825
+ "auto" | "before" | "center" | "after" | "inherit"
826
+ }?,
827
+ attribute line-increment { "auto" | "inherit" | xsd:string }?)
828
+ & (attribute stop-color { rfc-color }?,
829
+ attribute stop-opacity { "inherit" | xsd:string }?)
830
+ & (attribute font-family { "serif" | "sans-serif" | "monospace"
831
+ | "inherit" }?,
832
+ attribute font-size { "inherit" | xsd:string }?,
833
+ attribute font-style {
834
+ "normal" | "italic" | "oblique" | "inherit"
835
+ }?,
836
+ attribute font-variant { "normal" | "small-caps" | "inherit" }?,
837
+ attribute font-weight {
838
+ "normal"
839
+ | "bold"
840
+ | "bolder"
841
+ | "lighter"
842
+ | "inherit"
843
+ }?,
844
+ attribute text-anchor {
845
+ "start" | "middle" | "end" | "inherit"
846
+ }?,
847
+ attribute text-align {
848
+ "start" | "center" | "end" | "inherit"
849
+ }?)),
850
+ (attribute id { xsd:NCName }
851
+ | attribute xml:id { xsd:NCName })?,
852
+ attribute xml:base { xsd:anyURI | xsd:string }?,
853
+ attribute xml:lang { xsd:language? }?,
854
+ attribute class { xsd:NMTOKENS }?,
855
+ attribute role { xsd:string }?,
856
+ attribute rel { xsd:string }?,
857
+ attribute rev { xsd:string }?,
858
+ attribute typeof { xsd:string }?,
859
+ attribute content { xsd:string }?,
860
+ attribute datatype { xsd:string }?,
861
+ attribute resource { xsd:string }?,
862
+ attribute about { xsd:string }?,
863
+ attribute property { xsd:string }?,
864
+ attribute xml:space { "default" | "preserve" }?,
865
+ (desc
866
+ | svgTitle)*
867
+ }
868
+
869
+ textArea =
870
+ element textArea {
871
+ ((attribute fill-opacity { "inherit" | xsd:string }?,
872
+ attribute stroke-opacity { "inherit" | xsd:string }?)
873
+ & (attribute fill { "none" | rfc-color }?,
874
+ attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?,
875
+ attribute stroke { rfc-color }?,
876
+ attribute stroke-dasharray { "inherit" | "none" | xsd:string }?,
877
+ attribute stroke-dashoffset { "inherit" | xsd:string }?,
878
+ attribute stroke-linecap {
879
+ "butt" | "round" | "square" | "inherit"
880
+ }?,
881
+ attribute stroke-linejoin {
882
+ "miter" | "round" | "bevel" | "inherit"
883
+ }?,
884
+ attribute stroke-miterlimit { "inherit" | xsd:string }?,
885
+ attribute stroke-width { "inherit" | xsd:string }?,
886
+ attribute color { rfc-color }?,
887
+ attribute color-rendering {
888
+ "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit"
889
+ }?)
890
+ & attribute vector-effect {
891
+ "none" | "non-scaling-stroke" | "inherit"
892
+ }?
893
+ & (attribute direction { "ltr" | "rtl" | "inherit" }?,
894
+ attribute unicode-bidi {
895
+ "normal" | "embed" | "bidi-override" | "inherit"
896
+ }?)
897
+ & (attribute solid-color { rfc-color }?,
898
+ attribute solid-opacity { "inherit" | xsd:string }?)
899
+ & (attribute display-align {
900
+ "auto" | "before" | "center" | "after" | "inherit"
901
+ }?,
902
+ attribute line-increment { "auto" | "inherit" | xsd:string }?)
903
+ & (attribute stop-color { rfc-color }?,
904
+ attribute stop-opacity { "inherit" | xsd:string }?)
905
+ & (attribute font-family { "serif" | "sans-serif" | "monospace"
906
+ | "inherit" }?,
907
+ attribute font-size { "inherit" | xsd:string }?,
908
+ attribute font-style {
909
+ "normal" | "italic" | "oblique" | "inherit"
910
+ }?,
911
+ attribute font-variant { "normal" | "small-caps" | "inherit" }?,
912
+ attribute font-weight {
913
+ "normal"
914
+ | "bold"
915
+ | "bolder"
916
+ | "lighter"
917
+ | "inherit"
918
+ }?,
919
+ attribute text-anchor {
920
+ "start" | "middle" | "end" | "inherit"
921
+ }?,
922
+ attribute text-align {
923
+ "start" | "center" | "end" | "inherit"
924
+ }?)),
925
+ (attribute id { xsd:NCName }
926
+ | attribute xml:id { xsd:NCName })?,
927
+ attribute xml:base { xsd:anyURI | xsd:string }?,
928
+ attribute xml:lang { xsd:language? }?,
929
+ attribute class { xsd:NMTOKENS }?,
930
+ attribute role { xsd:string }?,
931
+ attribute rel { xsd:string }?,
932
+ attribute rev { xsd:string }?,
933
+ attribute typeof { xsd:string }?,
934
+ attribute content { xsd:string }?,
935
+ attribute datatype { xsd:string }?,
936
+ attribute resource { xsd:string }?,
937
+ attribute about { xsd:string }?,
938
+ attribute property { xsd:string }?,
939
+ attribute xml:space { "default" | "preserve" }?,
940
+ attribute transform { xsd:string | "none" }?,
941
+ attribute x { xsd:string }?,
942
+ attribute y { xsd:string }?,
943
+ attribute width { xsd:string | "auto" }?,
944
+ attribute height { xsd:string | "auto" }?,
945
+ (tspan
946
+ | desc
947
+ | svgTitle
948
+ | tspan_2
949
+ | text
950
+ | a_2)+
951
+ }
952
+
953
+ \text =
954
+ element text {
955
+ ((attribute fill-opacity { "inherit" | xsd:string }?,
956
+ attribute stroke-opacity { "inherit" | xsd:string }?)
957
+ & (attribute fill { "none" | rfc-color }?,
958
+ attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?,
959
+ attribute stroke { rfc-color }?,
960
+ attribute stroke-dasharray { "inherit" | "none" | xsd:string }?,
961
+ attribute stroke-dashoffset { "inherit" | xsd:string }?,
962
+ attribute stroke-linecap {
963
+ "butt" | "round" | "square" | "inherit"
964
+ }?,
965
+ attribute stroke-linejoin {
966
+ "miter" | "round" | "bevel" | "inherit"
967
+ }?,
968
+ attribute stroke-miterlimit { "inherit" | xsd:string }?,
969
+ attribute stroke-width { "inherit" | xsd:string }?,
970
+ attribute color { rfc-color }?,
971
+ attribute color-rendering {
972
+ "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit"
973
+ }?)
974
+ & attribute vector-effect {
975
+ "none" | "non-scaling-stroke" | "inherit"
976
+ }?
977
+ & (attribute direction { "ltr" | "rtl" | "inherit" }?,
978
+ attribute unicode-bidi {
979
+ "normal" | "embed" | "bidi-override" | "inherit"
980
+ }?)
981
+ & (attribute solid-color { rfc-color }?,
982
+ attribute solid-opacity { "inherit" | xsd:string }?)
983
+ & (attribute display-align {
984
+ "auto" | "before" | "center" | "after" | "inherit"
985
+ }?,
986
+ attribute line-increment { "auto" | "inherit" | xsd:string }?)
987
+ & (attribute stop-color { rfc-color }?,
988
+ attribute stop-opacity { "inherit" | xsd:string }?)
989
+ & (attribute font-family { "serif" | "sans-serif" | "monospace"
990
+ | "inherit" }?,
991
+ attribute font-size { "inherit" | xsd:string }?,
992
+ attribute font-style {
993
+ "normal" | "italic" | "oblique" | "inherit"
994
+ }?,
995
+ attribute font-variant { "normal" | "small-caps" | "inherit" }?,
996
+ attribute font-weight {
997
+ "normal"
998
+ | "bold"
999
+ | "bolder"
1000
+ | "lighter"
1001
+ | "inherit"
1002
+ }?,
1003
+ attribute text-anchor {
1004
+ "start" | "middle" | "end" | "inherit"
1005
+ }?,
1006
+ attribute text-align {
1007
+ "start" | "center" | "end" | "inherit"
1008
+ }?)),
1009
+ (attribute id { xsd:NCName }
1010
+ | attribute xml:id { xsd:NCName })?,
1011
+ attribute xml:base { xsd:anyURI | xsd:string }?,
1012
+ attribute xml:lang { xsd:language? }?,
1013
+ attribute class { xsd:NMTOKENS }?,
1014
+ attribute role { xsd:string }?,
1015
+ attribute rel { xsd:string }?,
1016
+ attribute rev { xsd:string }?,
1017
+ attribute typeof { xsd:string }?,
1018
+ attribute content { xsd:string }?,
1019
+ attribute datatype { xsd:string }?,
1020
+ attribute resource { xsd:string }?,
1021
+ attribute about { xsd:string }?,
1022
+ attribute property { xsd:string }?,
1023
+ attribute xml:space { "default" | "preserve" }?,
1024
+ attribute transform { xsd:string | "none" }?,
1025
+ attribute x { xsd:string }?,
1026
+ attribute y { xsd:string }?,
1027
+ attribute rotate { xsd:string }?,
1028
+ (desc
1029
+ | svgTitle
1030
+ | tspan_2
1031
+ | text
1032
+ | a_2)+
1033
+ }
1034
+
1035
+ g =
1036
+ element g {
1037
+ ((attribute fill-opacity { "inherit" | xsd:string }?,
1038
+ attribute stroke-opacity { "inherit" | xsd:string }?)
1039
+ & (attribute fill { "none" | rfc-color }?,
1040
+ attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?,
1041
+ attribute stroke { rfc-color }?,
1042
+ attribute stroke-dasharray { "inherit" | "none" | xsd:string }?,
1043
+ attribute stroke-dashoffset { "inherit" | xsd:string }?,
1044
+ attribute stroke-linecap {
1045
+ "butt" | "round" | "square" | "inherit"
1046
+ }?,
1047
+ attribute stroke-linejoin {
1048
+ "miter" | "round" | "bevel" | "inherit"
1049
+ }?,
1050
+ attribute stroke-miterlimit { "inherit" | xsd:string }?,
1051
+ attribute stroke-width { "inherit" | xsd:string }?,
1052
+ attribute color { rfc-color }?,
1053
+ attribute color-rendering {
1054
+ "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit"
1055
+ }?)
1056
+ & attribute vector-effect {
1057
+ "none" | "non-scaling-stroke" | "inherit"
1058
+ }?
1059
+ & (attribute direction { "ltr" | "rtl" | "inherit" }?,
1060
+ attribute unicode-bidi {
1061
+ "normal" | "embed" | "bidi-override" | "inherit"
1062
+ }?)
1063
+ & (attribute solid-color { rfc-color }?,
1064
+ attribute solid-opacity { "inherit" | xsd:string }?)
1065
+ & (attribute display-align {
1066
+ "auto" | "before" | "center" | "after" | "inherit"
1067
+ }?,
1068
+ attribute line-increment { "auto" | "inherit" | xsd:string }?)
1069
+ & (attribute stop-color { rfc-color }?,
1070
+ attribute stop-opacity { "inherit" | xsd:string }?)
1071
+ & (attribute font-family { "serif" | "sans-serif" | "monospace"
1072
+ | "inherit" }?,
1073
+ attribute font-size { "inherit" | xsd:string }?,
1074
+ attribute font-style {
1075
+ "normal" | "italic" | "oblique" | "inherit"
1076
+ }?,
1077
+ attribute font-variant { "normal" | "small-caps" | "inherit" }?,
1078
+ attribute font-weight {
1079
+ "normal"
1080
+ | "bold"
1081
+ | "bolder"
1082
+ | "lighter"
1083
+ | "inherit"
1084
+ }?,
1085
+ attribute text-anchor {
1086
+ "start" | "middle" | "end" | "inherit"
1087
+ }?,
1088
+ attribute text-align {
1089
+ "start" | "center" | "end" | "inherit"
1090
+ }?)),
1091
+ (attribute id { xsd:NCName }
1092
+ | attribute xml:id { xsd:NCName })?,
1093
+ attribute xml:base { xsd:anyURI | xsd:string }?,
1094
+ attribute xml:lang { xsd:language? }?,
1095
+ attribute class { xsd:NMTOKENS }?,
1096
+ attribute role { xsd:string }?,
1097
+ attribute rel { xsd:string }?,
1098
+ attribute rev { xsd:string }?,
1099
+ attribute typeof { xsd:string }?,
1100
+ attribute content { xsd:string }?,
1101
+ attribute datatype { xsd:string }?,
1102
+ attribute resource { xsd:string }?,
1103
+ attribute about { xsd:string }?,
1104
+ attribute property { xsd:string }?,
1105
+ attribute xml:space { "default" | "preserve" }?,
1106
+ attribute transform { xsd:string | "none" }?,
1107
+ (desc
1108
+ | svgTitle
1109
+ | path
1110
+ | rect
1111
+ | circle
1112
+ | line
1113
+ | ellipse
1114
+ | polyline
1115
+ | polygon
1116
+ | solidColor
1117
+ | textArea
1118
+ | \text
1119
+ | g
1120
+ | defs
1121
+ | use
1122
+ | a)*
1123
+ }
1124
+
1125
+ defs =
1126
+ element defs {
1127
+ ((attribute fill-opacity { "inherit" | xsd:string }?,
1128
+ attribute stroke-opacity { "inherit" | xsd:string }?)
1129
+ & (attribute fill { "none" | rfc-color }?,
1130
+ attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?,
1131
+ attribute stroke { rfc-color }?,
1132
+ attribute stroke-dasharray { "inherit" | "none" | xsd:string }?,
1133
+ attribute stroke-dashoffset { "inherit" | xsd:string }?,
1134
+ attribute stroke-linecap {
1135
+ "butt" | "round" | "square" | "inherit"
1136
+ }?,
1137
+ attribute stroke-linejoin {
1138
+ "miter" | "round" | "bevel" | "inherit"
1139
+ }?,
1140
+ attribute stroke-miterlimit { "inherit" | xsd:string }?,
1141
+ attribute stroke-width { "inherit" | xsd:string }?,
1142
+ attribute color { rfc-color }?,
1143
+ attribute color-rendering {
1144
+ "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit"
1145
+ }?)
1146
+ & attribute vector-effect {
1147
+ "none" | "non-scaling-stroke" | "inherit"
1148
+ }?
1149
+ & (attribute direction { "ltr" | "rtl" | "inherit" }?,
1150
+ attribute unicode-bidi {
1151
+ "normal" | "embed" | "bidi-override" | "inherit"
1152
+ }?)
1153
+ & (attribute solid-color { rfc-color }?,
1154
+ attribute solid-opacity { "inherit" | xsd:string }?)
1155
+ & (attribute display-align {
1156
+ "auto" | "before" | "center" | "after" | "inherit"
1157
+ }?,
1158
+ attribute line-increment { "auto" | "inherit" | xsd:string }?)
1159
+ & (attribute stop-color { rfc-color }?,
1160
+ attribute stop-opacity { "inherit" | xsd:string }?)
1161
+ & (attribute font-family { "serif" | "sans-serif" | "monospace"
1162
+ | "inherit" }?,
1163
+ attribute font-size { "inherit" | xsd:string }?,
1164
+ attribute font-style {
1165
+ "normal" | "italic" | "oblique" | "inherit"
1166
+ }?,
1167
+ attribute font-variant { "normal" | "small-caps" | "inherit" }?,
1168
+ attribute font-weight {
1169
+ "normal"
1170
+ | "bold"
1171
+ | "bolder"
1172
+ | "lighter"
1173
+ | "inherit"
1174
+ }?,
1175
+ attribute text-anchor {
1176
+ "start" | "middle" | "end" | "inherit"
1177
+ }?,
1178
+ attribute text-align {
1179
+ "start" | "center" | "end" | "inherit"
1180
+ }?)),
1181
+ (attribute id { xsd:NCName }
1182
+ | attribute xml:id { xsd:NCName })?,
1183
+ attribute xml:base { xsd:anyURI | xsd:string }?,
1184
+ attribute xml:lang { xsd:language? }?,
1185
+ attribute class { xsd:NMTOKENS }?,
1186
+ attribute role { xsd:string }?,
1187
+ attribute rel { xsd:string }?,
1188
+ attribute rev { xsd:string }?,
1189
+ attribute typeof { xsd:string }?,
1190
+ attribute content { xsd:string }?,
1191
+ attribute datatype { xsd:string }?,
1192
+ attribute resource { xsd:string }?,
1193
+ attribute about { xsd:string }?,
1194
+ attribute property { xsd:string }?,
1195
+ attribute xml:space { "default" | "preserve" }?,
1196
+ (desc
1197
+ | svgTitle
1198
+ | path
1199
+ | rect
1200
+ | circle
1201
+ | line
1202
+ | ellipse
1203
+ | polyline
1204
+ | polygon
1205
+ | solidColor
1206
+ | textArea
1207
+ | \text
1208
+ | g
1209
+ | defs
1210
+ | use
1211
+ | a)*
1212
+ }
1213
+
1214
+ use =
1215
+ element use {
1216
+ ((attribute fill-opacity { "inherit" | xsd:string }?,
1217
+ attribute stroke-opacity { "inherit" | xsd:string }?)
1218
+ & (attribute fill { "none" | rfc-color }?,
1219
+ attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?,
1220
+ attribute stroke { rfc-color }?,
1221
+ attribute stroke-dasharray { "inherit" | "none" | xsd:string }?,
1222
+ attribute stroke-dashoffset { "inherit" | xsd:string }?,
1223
+ attribute stroke-linecap {
1224
+ "butt" | "round" | "square" | "inherit"
1225
+ }?,
1226
+ attribute stroke-linejoin {
1227
+ "miter" | "round" | "bevel" | "inherit"
1228
+ }?,
1229
+ attribute stroke-miterlimit { "inherit" | xsd:string }?,
1230
+ attribute stroke-width { "inherit" | xsd:string }?,
1231
+ attribute color { rfc-color }?,
1232
+ attribute color-rendering {
1233
+ "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit"
1234
+ }?)
1235
+ & attribute vector-effect {
1236
+ "none" | "non-scaling-stroke" | "inherit"
1237
+ }?
1238
+ & (attribute direction { "ltr" | "rtl" | "inherit" }?,
1239
+ attribute unicode-bidi {
1240
+ "normal" | "embed" | "bidi-override" | "inherit"
1241
+ }?)
1242
+ & (attribute solid-color { rfc-color }?,
1243
+ attribute solid-opacity { "inherit" | xsd:string }?)
1244
+ & (attribute display-align {
1245
+ "auto" | "before" | "center" | "after" | "inherit"
1246
+ }?,
1247
+ attribute line-increment { "auto" | "inherit" | xsd:string }?)
1248
+ & (attribute stop-color { rfc-color }?,
1249
+ attribute stop-opacity { "inherit" | xsd:string }?)
1250
+ & (attribute font-family { "serif" | "sans-serif" | "monospace"
1251
+ | "inherit" }?,
1252
+ attribute font-size { "inherit" | xsd:string }?,
1253
+ attribute font-style {
1254
+ "normal" | "italic" | "oblique" | "inherit"
1255
+ }?,
1256
+ attribute font-variant { "normal" | "small-caps" | "inherit" }?,
1257
+ attribute font-weight {
1258
+ "normal"
1259
+ | "bold"
1260
+ | "bolder"
1261
+ | "lighter"
1262
+ | "inherit"
1263
+ }?,
1264
+ attribute text-anchor {
1265
+ "start" | "middle" | "end" | "inherit"
1266
+ }?,
1267
+ attribute text-align {
1268
+ "start" | "center" | "end" | "inherit"
1269
+ }?)),
1270
+ (attribute id { xsd:NCName }
1271
+ | attribute xml:id { xsd:NCName })?,
1272
+ attribute xml:base { xsd:anyURI | xsd:string }?,
1273
+ attribute xml:lang { xsd:language? }?,
1274
+ attribute class { xsd:NMTOKENS }?,
1275
+ attribute role { xsd:string }?,
1276
+ attribute rel { xsd:string }?,
1277
+ attribute rev { xsd:string }?,
1278
+ attribute typeof { xsd:string }?,
1279
+ attribute content { xsd:string }?,
1280
+ attribute datatype { xsd:string }?,
1281
+ attribute resource { xsd:string }?,
1282
+ attribute about { xsd:string }?,
1283
+ attribute property { xsd:string }?,
1284
+ attribute xml:space { "default" | "preserve" }?,
1285
+ attribute transform { xsd:string | "none" }?,
1286
+ attribute xlink:show { "embed" }?,
1287
+ attribute xlink:actuate { "onLoad" }?,
1288
+ attribute xlink:type { "simple" }?,
1289
+ attribute xlink:role { xsd:anyURI | xsd:string }?,
1290
+ attribute xlink:arcrole { xsd:anyURI | xsd:string }?,
1291
+ attribute xlink:title { text }?,
1292
+ attribute xlink:href { xsd:anyURI | xsd:string }?,
1293
+ attribute x { xsd:string }?,
1294
+ attribute y { xsd:string }?,
1295
+ (desc
1296
+ | svgTitle)*
1297
+ }
1298
+
1299
+ a =
1300
+ element a {
1301
+ (attribute id { xsd:NCName }
1302
+ | attribute xml:id { xsd:NCName })?,
1303
+ attribute xml:base { xsd:anyURI | xsd:string }?,
1304
+ attribute xml:lang { xsd:language? }?,
1305
+ attribute class { xsd:NMTOKENS }?,
1306
+ attribute role { xsd:string }?,
1307
+ attribute rel { xsd:string }?,
1308
+ attribute rev { xsd:string }?,
1309
+ attribute typeof { xsd:string }?,
1310
+ attribute content { xsd:string }?,
1311
+ attribute datatype { xsd:string }?,
1312
+ attribute resource { xsd:string }?,
1313
+ attribute about { xsd:string }?,
1314
+ attribute property { xsd:string }?,
1315
+ attribute xml:space { "default" | "preserve" }?,
1316
+ ((attribute fill-opacity { "inherit" | xsd:string }?,
1317
+ attribute stroke-opacity { "inherit" | xsd:string }?)
1318
+ & (attribute fill { "none" | rfc-color }?,
1319
+ attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?,
1320
+ attribute stroke { rfc-color }?,
1321
+ attribute stroke-dasharray { "inherit" | "none" | xsd:string }?,
1322
+ attribute stroke-dashoffset { "inherit" | xsd:string }?,
1323
+ attribute stroke-linecap {
1324
+ "butt" | "round" | "square" | "inherit"
1325
+ }?,
1326
+ attribute stroke-linejoin {
1327
+ "miter" | "round" | "bevel" | "inherit"
1328
+ }?,
1329
+ attribute stroke-miterlimit { "inherit" | xsd:string }?,
1330
+ attribute stroke-width { "inherit" | xsd:string }?,
1331
+ attribute color { rfc-color }?,
1332
+ attribute color-rendering {
1333
+ "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit"
1334
+ }?)
1335
+ & attribute vector-effect {
1336
+ "none" | "non-scaling-stroke" | "inherit"
1337
+ }?
1338
+ & (attribute direction { "ltr" | "rtl" | "inherit" }?,
1339
+ attribute unicode-bidi {
1340
+ "normal" | "embed" | "bidi-override" | "inherit"
1341
+ }?)
1342
+ & (attribute solid-color { rfc-color }?,
1343
+ attribute solid-opacity { "inherit" | xsd:string }?)
1344
+ & (attribute display-align {
1345
+ "auto" | "before" | "center" | "after" | "inherit"
1346
+ }?,
1347
+ attribute line-increment { "auto" | "inherit" | xsd:string }?)
1348
+ & (attribute stop-color { rfc-color }?,
1349
+ attribute stop-opacity { "inherit" | xsd:string }?)
1350
+ & (attribute font-family { "serif" | "sans-serif" | "monospace"
1351
+ | "inherit" }?,
1352
+ attribute font-size { "inherit" | xsd:string }?,
1353
+ attribute font-style {
1354
+ "normal" | "italic" | "oblique" | "inherit"
1355
+ }?,
1356
+ attribute font-variant { "normal" | "small-caps" | "inherit" }?,
1357
+ attribute font-weight {
1358
+ "normal"
1359
+ | "bold"
1360
+ | "bolder"
1361
+ | "lighter"
1362
+ | "inherit"
1363
+ }?,
1364
+ attribute text-anchor {
1365
+ "start" | "middle" | "end" | "inherit"
1366
+ }?,
1367
+ attribute text-align {
1368
+ "start" | "center" | "end" | "inherit"
1369
+ }?)),
1370
+ attribute transform { xsd:string | "none" }?,
1371
+ attribute xlink:show { "new" | "replace" }?,
1372
+ attribute xlink:actuate { "onRequest" }?,
1373
+ attribute xlink:type { "simple" }?,
1374
+ attribute xlink:role { xsd:anyURI | xsd:string }?,
1375
+ attribute xlink:arcrole { xsd:anyURI | xsd:string }?,
1376
+ attribute xlink:title { text }?,
1377
+ attribute xlink:href { xsd:anyURI | xsd:string }?,
1378
+ attribute target {
1379
+ "_replace" | "_self" | "_parent" | "_top" | "_blank" | xsd:Name
1380
+ }?,
1381
+ (desc
1382
+ | svgTitle
1383
+ | path
1384
+ | rect
1385
+ | circle
1386
+ | line
1387
+ | ellipse
1388
+ | polyline
1389
+ | polygon
1390
+ | solidColor
1391
+ | textArea
1392
+ | \text
1393
+ | g
1394
+ | defs
1395
+ | use)*
1396
+ }
1397
+
1398
+ tspan =
1399
+ element tspan {
1400
+ ((attribute fill-opacity { "inherit" | xsd:string }?,
1401
+ attribute stroke-opacity { "inherit" | xsd:string }?)
1402
+ & (attribute fill { "none" | rfc-color }?,
1403
+ attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?,
1404
+ attribute stroke { rfc-color }?,
1405
+ attribute stroke-dasharray { "inherit" | "none" | xsd:string }?,
1406
+ attribute stroke-dashoffset { "inherit" | xsd:string }?,
1407
+ attribute stroke-linecap {
1408
+ "butt" | "round" | "square" | "inherit"
1409
+ }?,
1410
+ attribute stroke-linejoin {
1411
+ "miter" | "round" | "bevel" | "inherit"
1412
+ }?,
1413
+ attribute stroke-miterlimit { "inherit" | xsd:string }?,
1414
+ attribute stroke-width { "inherit" | xsd:string }?,
1415
+ attribute color { rfc-color }?,
1416
+ attribute color-rendering {
1417
+ "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit"
1418
+ }?)
1419
+ & attribute vector-effect {
1420
+ "none" | "non-scaling-stroke" | "inherit"
1421
+ }?
1422
+ & (attribute direction { "ltr" | "rtl" | "inherit" }?,
1423
+ attribute unicode-bidi {
1424
+ "normal" | "embed" | "bidi-override" | "inherit"
1425
+ }?)
1426
+ & (attribute solid-color { rfc-color }?,
1427
+ attribute solid-opacity { "inherit" | xsd:string }?)
1428
+ & (attribute display-align {
1429
+ "auto" | "before" | "center" | "after" | "inherit"
1430
+ }?,
1431
+ attribute line-increment { "auto" | "inherit" | xsd:string }?)
1432
+ & (attribute stop-color { rfc-color }?,
1433
+ attribute stop-opacity { "inherit" | xsd:string }?)
1434
+ & (attribute font-family { "serif" | "sans-serif" | "monospace"
1435
+ | "inherit" }?,
1436
+ attribute font-size { "inherit" | xsd:string }?,
1437
+ attribute font-style {
1438
+ "normal" | "italic" | "oblique" | "inherit"
1439
+ }?,
1440
+ attribute font-variant { "normal" | "small-caps" | "inherit" }?,
1441
+ attribute font-weight {
1442
+ "normal"
1443
+ | "bold"
1444
+ | "bolder"
1445
+ | "lighter"
1446
+ | "inherit"
1447
+ }?,
1448
+ attribute text-anchor {
1449
+ "start" | "middle" | "end" | "inherit"
1450
+ }?,
1451
+ attribute text-align {
1452
+ "start" | "center" | "end" | "inherit"
1453
+ }?)),
1454
+ (attribute id { xsd:NCName }
1455
+ | attribute xml:id { xsd:NCName })?,
1456
+ attribute xml:base { xsd:anyURI | xsd:string }?,
1457
+ attribute xml:lang { xsd:language? }?,
1458
+ attribute class { xsd:NMTOKENS }?,
1459
+ attribute role { xsd:string }?,
1460
+ attribute rel { xsd:string }?,
1461
+ attribute rev { xsd:string }?,
1462
+ attribute typeof { xsd:string }?,
1463
+ attribute content { xsd:string }?,
1464
+ attribute datatype { xsd:string }?,
1465
+ attribute resource { xsd:string }?,
1466
+ attribute about { xsd:string }?,
1467
+ attribute property { xsd:string }?,
1468
+ attribute xml:space { "default" | "preserve" }?,
1469
+ attribute x { xsd:string }?, # For SVG-1.2-RFC
1470
+ attribute y { xsd:string }?,
1471
+ (tbreak
1472
+ | desc
1473
+ | svgTitle
1474
+ | tspan_2
1475
+ | text
1476
+ | a_2)+
1477
+ }
1478
+
1479
+ tspan_2 =
1480
+ element tspan {
1481
+ ((attribute fill-opacity { "inherit" | xsd:string }?,
1482
+ attribute stroke-opacity { "inherit" | xsd:string }?)
1483
+ & (attribute fill { "none" | rfc-color }?,
1484
+ attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?,
1485
+ attribute stroke { rfc-color }?,
1486
+ attribute stroke-dasharray { "inherit" | "none" | xsd:string }?,
1487
+ attribute stroke-dashoffset { "inherit" | xsd:string }?,
1488
+ attribute stroke-linecap {
1489
+ "butt" | "round" | "square" | "inherit"
1490
+ }?,
1491
+ attribute stroke-linejoin {
1492
+ "miter" | "round" | "bevel" | "inherit"
1493
+ }?,
1494
+ attribute stroke-miterlimit { "inherit" | xsd:string }?,
1495
+ attribute stroke-width { "inherit" | xsd:string }?,
1496
+ attribute color { rfc-color }?,
1497
+ attribute color-rendering {
1498
+ "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit"
1499
+ }?)
1500
+ & attribute vector-effect {
1501
+ "none" | "non-scaling-stroke" | "inherit"
1502
+ }?
1503
+ & (attribute direction { "ltr" | "rtl" | "inherit" }?,
1504
+ attribute unicode-bidi {
1505
+ "normal" | "embed" | "bidi-override" | "inherit"
1506
+ }?)
1507
+ & (attribute solid-color { rfc-color }?,
1508
+ attribute solid-opacity { "inherit" | xsd:string }?)
1509
+ & (attribute display-align {
1510
+ "auto" | "before" | "center" | "after" | "inherit"
1511
+ }?,
1512
+ attribute line-increment { "auto" | "inherit" | xsd:string }?)
1513
+ & (attribute stop-color { rfc-color }?,
1514
+ attribute stop-opacity { "inherit" | xsd:string }?)
1515
+ & (attribute font-family { "serif" | "sans-serif" | "monospace"
1516
+ | "inherit" }?,
1517
+ attribute font-size { "inherit" | xsd:string }?,
1518
+ attribute font-style {
1519
+ "normal" | "italic" | "oblique" | "inherit"
1520
+ }?,
1521
+ attribute font-variant { "normal" | "small-caps" | "inherit" }?,
1522
+ attribute font-weight {
1523
+ "normal"
1524
+ | "bold"
1525
+ | "bolder"
1526
+ | "lighter"
1527
+ | "inherit"
1528
+ }?,
1529
+ attribute text-anchor {
1530
+ "start" | "middle" | "end" | "inherit"
1531
+ }?,
1532
+ attribute text-align {
1533
+ "start" | "center" | "end" | "inherit"
1534
+ }?)),
1535
+ (attribute id { xsd:NCName }
1536
+ | attribute xml:id { xsd:NCName })?,
1537
+ attribute xml:base { xsd:anyURI | xsd:string }?,
1538
+ attribute xml:lang { xsd:language? }?,
1539
+ attribute class { xsd:NMTOKENS }?,
1540
+ attribute role { xsd:string }?,
1541
+ attribute rel { xsd:string }?,
1542
+ attribute rev { xsd:string }?,
1543
+ attribute typeof { xsd:string }?,
1544
+ attribute content { xsd:string }?,
1545
+ attribute datatype { xsd:string }?,
1546
+ attribute resource { xsd:string }?,
1547
+ attribute about { xsd:string }?,
1548
+ attribute property { xsd:string }?,
1549
+ attribute xml:space { "default" | "preserve" }?,
1550
+ attribute x { xsd:string }?, # For SVG-1.2-RFC
1551
+ attribute y { xsd:string }?,
1552
+ (desc
1553
+ | svgTitle
1554
+ | tspan_2
1555
+ | text
1556
+ | a_2)+
1557
+ }
1558
+
1559
+ a_2 =
1560
+ element a {
1561
+ (attribute id { xsd:NCName }
1562
+ | attribute xml:id { xsd:NCName })?,
1563
+ attribute xml:base { xsd:anyURI | xsd:string }?,
1564
+ attribute xml:lang { xsd:language? }?,
1565
+ attribute class { xsd:NMTOKENS }?,
1566
+ attribute role { xsd:string }?,
1567
+ attribute rel { xsd:string }?,
1568
+ attribute rev { xsd:string }?,
1569
+ attribute typeof { xsd:string }?,
1570
+ attribute content { xsd:string }?,
1571
+ attribute datatype { xsd:string }?,
1572
+ attribute resource { xsd:string }?,
1573
+ attribute about { xsd:string }?,
1574
+ attribute property { xsd:string }?,
1575
+ attribute xml:space { "default" | "preserve" }?,
1576
+ ((attribute fill-opacity { "inherit" | xsd:string }?,
1577
+ attribute stroke-opacity { "inherit" | xsd:string }?)
1578
+ & (attribute fill { "none" | rfc-color }?,
1579
+ attribute fill-rule { "inherit" | "nonzero" | "evenodd" }?,
1580
+ attribute stroke { rfc-color }?,
1581
+ attribute stroke-dasharray { "inherit" | "none" | xsd:string }?,
1582
+ attribute stroke-dashoffset { "inherit" | xsd:string }?,
1583
+ attribute stroke-linecap {
1584
+ "butt" | "round" | "square" | "inherit"
1585
+ }?,
1586
+ attribute stroke-linejoin {
1587
+ "miter" | "round" | "bevel" | "inherit"
1588
+ }?,
1589
+ attribute stroke-miterlimit { "inherit" | xsd:string }?,
1590
+ attribute stroke-width { "inherit" | xsd:string }?,
1591
+ attribute color { rfc-color }?,
1592
+ attribute color-rendering {
1593
+ "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit"
1594
+ }?)
1595
+ & attribute vector-effect {
1596
+ "none" | "non-scaling-stroke" | "inherit"
1597
+ }?
1598
+ & (attribute direction { "ltr" | "rtl" | "inherit" }?,
1599
+ attribute unicode-bidi {
1600
+ "normal" | "embed" | "bidi-override" | "inherit"
1601
+ }?)
1602
+ & (attribute solid-color { rfc-color }?,
1603
+ attribute solid-opacity { "inherit" | xsd:string }?)
1604
+ & (attribute display-align {
1605
+ "auto" | "before" | "center" | "after" | "inherit"
1606
+ }?,
1607
+ attribute line-increment { "auto" | "inherit" | xsd:string }?)
1608
+ & (attribute stop-color { rfc-color }?,
1609
+ attribute stop-opacity { "inherit" | xsd:string }?)
1610
+ & (attribute font-family { "serif" | "sans-serif" | "monospace"
1611
+ | "inherit" }?,
1612
+ attribute font-size { "inherit" | xsd:string }?,
1613
+ attribute font-style {
1614
+ "normal" | "italic" | "oblique" | "inherit"
1615
+ }?,
1616
+ attribute font-variant { "normal" | "small-caps" | "inherit" }?,
1617
+ attribute font-weight {
1618
+ "normal"
1619
+ | "bold"
1620
+ | "bolder"
1621
+ | "lighter"
1622
+ | "inherit"
1623
+ }?,
1624
+ attribute text-anchor {
1625
+ "start" | "middle" | "end" | "inherit"
1626
+ }?,
1627
+ attribute text-align {
1628
+ "start" | "center" | "end" | "inherit"
1629
+ }?)),
1630
+ attribute transform { xsd:string | "none" }?,
1631
+ attribute xlink:show { "new" | "replace" }?,
1632
+ attribute xlink:actuate { "onRequest" }?,
1633
+ attribute xlink:type { "simple" }?,
1634
+ attribute xlink:role { xsd:anyURI | xsd:string }?,
1635
+ attribute xlink:arcrole { xsd:anyURI | xsd:string }?,
1636
+ attribute xlink:title { text }?,
1637
+ attribute xlink:href { xsd:anyURI | xsd:string }?,
1638
+ attribute target {
1639
+ "_replace" | "_self" | "_parent" | "_top" | "_blank" | xsd:Name
1640
+ }?,
1641
+ (desc
1642
+ | svgTitle
1643
+ | tspan_2
1644
+ | text)+
1645
+ }
1646
+
1647
+ tbreak =
1648
+ element tbreak {
1649
+ (attribute id { xsd:NCName }
1650
+ | attribute xml:id { xsd:NCName })?,
1651
+ attribute xml:base { xsd:anyURI | xsd:string }?,
1652
+ attribute xml:lang { xsd:language? }?,
1653
+ attribute class { xsd:NMTOKENS }?,
1654
+ attribute role { xsd:string }?,
1655
+ attribute rel { xsd:string }?,
1656
+ attribute rev { xsd:string }?,
1657
+ attribute typeof { xsd:string }?,
1658
+ attribute content { xsd:string }?,
1659
+ attribute datatype { xsd:string }?,
1660
+ attribute resource { xsd:string }?,
1661
+ attribute about { xsd:string }?,
1662
+ attribute property { xsd:string }?,
1663
+ attribute xml:space { "default" | "preserve" }?
1664
+ }
1665
+
1666
+ #--- End of SVG 1.2 RFC rnc schema