<?xml version="1.0" encoding="UTF-8"?>
<grammar xml:lang="en" ns="http://www.w3.org/2000/svg" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0">
  <a:documentation>
    SVG 1.1 Scripting Module
    file: svg-script.rng

    This is SVG, a language for describing two-dimensional graphics in XML.
    Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.

    Modifications Copyright 2007 Mozilla Foundation

    $Id$
  </a:documentation>
  <a:documentation>
    Scripting

        script

    This module declares markup to provide support for scripting.
  </a:documentation>
  <a:documentation>
    SVG.Script.class
  </a:documentation>
  <define name="SVG.Script.extra.class">
    <notAllowed/>
  </define>
  <define name="SVG.Script.class" combine="choice">
    <choice>
      <ref name="script"/>
      <ref name="SVG.Script.extra.class"/>
    </choice>
  </define>
  <a:documentation>
    script: Script Element
  </a:documentation>
  <define name="SVG.script.content">
    <text/>
  </define>
  <define name="script">
    <element name="script">
      <ref name="attlist.script"/>
      <ref name="SVG.script.content"/>
    </element>
  </define>
  <define name="attlist.script" combine="interleave">
    <ref name="SVG.Core.attrib"/>
    <ref name="SVG.XLink.attrib"/>
    <ref name="SVG.External.attrib"/>
    <optional>
      <attribute name="type">
        <ref name="ContentType.datatype"/>
      </attribute>
    </optional>
  </define>
</grammar>