summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/stex/schema/rnc/svg/svg-viewport-attrib.rnc
blob: d7acd96d7c5f0b7602e04d05aa4512e78b7c09e3 (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
namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0"


## 
##     SVG 1.1 Viewport Attribute Module
##     file: svg-viewport-attrib.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-viewport-attrib.rng,v 1.1 2003/07/15 07:11:10 dean Exp $
##   

## 
##     Viewport Attribute
## 
##         clip, overflow
## 
##     This module defines the Viewport attribute set.
##   
[ xml:lang = "en" ]
grammar {
  
  ## 
  ##       'clip' property/attribute value (e.g., 'auto', rect(...))
  ##     
  ClipValue.datatype = xsd:string
  SVG.clip.attrib = attribute clip { ClipValue.datatype }?
  SVG.overflow.attrib =
    attribute overflow {
      "visible" | "hidden" | "scroll" | "auto" | "inherit"
    }?
  SVG.Viewport.extra.attrib = empty
  SVG.Viewport.attrib &=
    SVG.clip.attrib, SVG.overflow.attrib, SVG.Viewport.extra.attrib
}