/
svg-extensibility.rng
73 lines (60 loc) · 1.55 KB
/
svg-extensibility.rng
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
<?xml version="1.0" encoding="utf-8"?>
<!-- Extensibility Module -->
<!--
RELAX NG Schema on SVG 1.1
See COPYING for the status of this software.
Yutaka Furubayashi (Poka-Poka Dream Factory) <info@yupotan.sppd.ne.jp>
-->
<grammar xmlns="http://relaxng.org/ns/structure/1.0">
<define name="SVG.Extensibility.extra.class">
<empty/>
</define>
<define name="SVG.Extensibility.class">
<choice>
<ref name="SVG.foreignObject"/>
<ref name="SVG.Extensibility.extra.class"/>
</choice>
</define>
<define name="SVG.foreignObject">
<element name="foreignObject">
<ref name="SVG.foreignObject.content"/>
<ref name="SVG.Core.attrib"/>
<ref name="SVG.Conditional.attrib"/>
<ref name="SVG.Style.attrib"/>
<ref name="SVG.Presentation.attrib"/>
<ref name="SVG.GraphicalEvents.attrib"/>
<ref name="SVG.External.attrib"/>
<optional>
<attribute name="x">
<ref name="SVG.Coordinate.datatype"/>
</attribute>
</optional>
<optional>
<attribute name="y">
<ref name="SVG.Coordinate.datatype"/>
</attribute>
</optional>
<attribute name="width">
<ref name="SVG.Length.datatype"/>
</attribute>
<attribute name="height">
<ref name="SVG.Length.datatype"/>
</attribute>
<optional>
<attribute name="transform">
<ref name="SVG.TransformList.datatype"/>
</attribute>
</optional>
</element>
</define>
<define name="SVG.foreignObject.content">
<zeroOrMore>
<ref name="SVG.foreignObject.class"/>
</zeroOrMore>
</define>
<define name="SVG.foreignObject.class" combine="choice">
<choice>
<text/>
</choice>
</define>
</grammar>