<?xml version="1.0" encoding="UTF-8"?>
<grammar ns="http://www.w3.org/2000/svg" xml:lang="en"
         xmlns="http://relaxng.org/ns/structure/1.0"
         xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
         datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">

  <a:documentation>
    SVG 1.1 Paint Opacity Attribute Module
    file: svg-opacity-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-opacity-attrib.rng,v 1.1 2003/07/15 07:11:10 dean Exp $
  </a:documentation>

  <a:documentation>
    Paint Opacity Attribute

        opacity, fill-opacity, stroke-opacity

    This module defines the Opacity attribute set.
  </a:documentation>

  <define name="SVG.opacity.attrib">
    <optional>
      <attribute name="opacity">
        <ref name="OpacityValue.datatype"/>
      </attribute>
    </optional>
  </define>

  <define name="SVG.fill-opacity.attrib">
    <optional>
      <attribute name="fill-opacity">
        <ref name="OpacityValue.datatype"/>
      </attribute>
    </optional>
  </define>

  <define name="SVG.stroke-opacity.attrib">
    <optional>
      <attribute name="stroke-opacity">
        <ref name="OpacityValue.datatype"/>
      </attribute>
    </optional>
  </define>

  <define name="SVG.Opacity.extra.attrib">
    <empty/>
  </define>

  <define name="SVG.Opacity.attrib" combine="interleave">
    <ref name="SVG.opacity.attrib"/>
    <ref name="SVG.fill-opacity.attrib"/>
    <ref name="SVG.stroke-opacity.attrib"/>
    <ref name="SVG.Opacity.extra.attrib"/>
  </define>

</grammar>
