summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/stex/schema/rnc/svg/svg-profile.rnc
blob: ba154bdca8bbcfd2e40d6cc5e5d73653403e8adc (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
default namespace = "http://www.w3.org/2000/svg"
namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0"


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

## 
##     Color Profile
## 
##         color-profile
## 
##     This module declares markup to provide support for color profile.
##   

## 
##     SVG.Profile.attrib
##   
[ xml:lang = "en" ]
grammar {
  SVG.Profile.extra.attrib = empty
  SVG.Profile.attrib &=
    attribute color-profile { text }?,
    SVG.Profile.extra.attrib
  a:documentation [ "\x{a}" ~ "    SVG.Profile.class\x{a}" ~ "  " ]
  SVG.Profile.extra.class = notAllowed
  SVG.Profile.class |= color-profile | SVG.Profile.extra.class
  a:documentation [
    "\x{a}" ~
    "    color-profile: Color Profile Element\x{a}" ~
    "  "
  ]
  SVG.color-profile.content = SVG.Description.class*
  color-profile =
    element color-profile {
      attlist.color-profile, SVG.color-profile.content
    }
  attlist.color-profile &=
    SVG.Core.attrib,
    SVG.XLink.attrib,
    attribute local { text }?,
    attribute name { text },
    [ a:defaultValue = "auto" ]
    attribute rendering-intent {
      "auto"
      | "perceptual"
      | "relative-colorimetric"
      | "saturation"
      | "absolute-colorimetric"
    }?
}