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"
    }?
}
