/
svg-core-attrib.rng
65 lines (51 loc) · 1.21 KB
/
svg-core-attrib.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
<?xml version="1.0" encoding="utf-8"?>
<!-- Core Attribute 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">
<!-- Attributes -->
<define name="SVG.id.attrib">
<optional>
<attribute name="id">
<ref name="SVG.ID.datatype"/>
</attribute>
</optional>
</define>
<define name="SVG.base.attrib">
<optional>
<attribute name="xml:base">
<ref name="SVG.URI.datatype"/>
</attribute>
</optional>
</define>
<define name="SVG.lang.attrib">
<optional>
<attribute name="xml:lang">
<ref name="SVG.LanguageCode.datatype"/>
</attribute>
</optional>
</define>
<define name="SVG.space.attrib">
<optional>
<attribute name="xml:space">
<choice>
<value>default</value>
<value>preserve</value>
</choice>
</attribute>
</optional>
</define>
<define name="SVG.Core.extra.attrib">
<empty/>
</define>
<define name="SVG.Core.attrib" combine="interleave">
<ref name="SVG.id.attrib"/>
<ref name="SVG.base.attrib"/>
<ref name="SVG.lang.attrib"/>
<ref name="SVG.space.attrib"/>
<ref name="SVG.Core.extra.attrib"/>
</define>
</grammar>