blob: 41501c31f92748019d43d4367ca3994184555e50 (
plain)
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
|
default namespace = "http://www.w3.org/2000/svg"
namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0"
##
## SVG 1.1 View Module
## file: svg-view.rng
##
## This is SVG, a language for describing two-dimensional graphics in XML.
## Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
##
## $Id: svg-view.rng,v 1.1 2003/07/15 07:11:10 dean Exp $
##
##
## View
##
## view
##
## This module declares markup to provide support for view.
##
##
## SVG.View.class
##
[ xml:lang = "en" ]
grammar {
SVG.View.extra.class = notAllowed
SVG.View.class |= view | SVG.View.extra.class
a:documentation [ "\x{a}" ~ " view: View Element\x{a}" ~ " " ]
SVG.view.content = SVG.Description.class*
view = element view { attlist.view, SVG.view.content }
attlist.view &=
SVG.Core.attrib,
SVG.External.attrib,
attribute viewBox { ViewBoxSpec.datatype }?,
[ a:defaultValue = "xMidYMid meet" ]
attribute preserveAspectRatio { PreserveAspectRatioSpec.datatype }?,
[ a:defaultValue = "magnify" ]
attribute zoomAndPan { "disable" | "magnify" }?,
attribute viewTarget { text }?
}
|