<?xml version="1.0" encoding="UTF-8"?>
<!-- - - -  SVG 1.2 RFC rnc schema;  Nevil Brownlee, Tue Jan 16 2018 (NZDT) -->
<grammar ns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
  <define name="rfc-color">
    <choice>
      <!-- SVG-1.2-RFC doesn't allow "color or grey-scale" -->
      <value>black</value>
      <value>white</value>
      <value>#000000</value>
      <value>#FFFFFF</value>
      <value>#ffffff</value>
      <value>currentColor</value>
      <value>inherit</value>
    </choice>
  </define>
  <start>
    <ref name="svg"/>
  </start>
  <define name="svg">
    <element name="svg">
      <interleave>
        <group>
          <optional>
            <attribute name="fill-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="fill">
              <choice>
                <value>none</value>
                <ref name="rfc-color"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="fill-rule">
              <choice>
                <value>inherit</value>
                <value>nonzero</value>
                <value>evenodd</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dasharray">
              <choice>
                <value>inherit</value>
                <value>none</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dashoffset">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linecap">
              <choice>
                <value>butt</value>
                <value>round</value>
                <value>square</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linejoin">
              <choice>
                <value>miter</value>
                <value>round</value>
                <value>bevel</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-miterlimit">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-width">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="color-rendering">
              <choice>
                <value>auto</value>
                <value>optimizeSpeed</value>
                <value>optimizeQuality</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <optional>
          <attribute name="vector-effect">
            <choice>
              <value>none</value>
              <value>non-scaling-stroke</value>
              <value>inherit</value>
            </choice>
          </attribute>
        </optional>
        <group>
          <optional>
            <attribute name="direction">
              <choice>
                <value>ltr</value>
                <value>rtl</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="unicode-bidi">
              <choice>
                <value>normal</value>
                <value>embed</value>
                <value>bidi-override</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="solid-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="solid-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="display-align">
              <choice>
                <value>auto</value>
                <value>before</value>
                <value>center</value>
                <value>after</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="line-increment">
              <choice>
                <value>auto</value>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="stop-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stop-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="font-family">
              <choice>
                <value>serif</value>
                <value>sans-serif</value>
                <value>monospace</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-size">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-style">
              <choice>
                <value>normal</value>
                <value>italic</value>
                <value>oblique</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-variant">
              <choice>
                <value>normal</value>
                <value>small-caps</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-weight">
              <choice>
                <value>normal</value>
                <value>bold</value>
                <value>bolder</value>
                <value>lighter</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-anchor">
              <choice>
                <value>start</value>
                <value>middle</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-align">
              <choice>
                <value>start</value>
                <value>center</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
      </interleave>
      <optional>
        <choice>
          <attribute name="id">
            <data type="NCName"/>
          </attribute>
          <attribute name="xml:id">
            <data type="NCName"/>
          </attribute>
        </choice>
      </optional>
      <optional>
        <attribute name="xml:base">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:lang">
          <optional>
            <data type="language"/>
          </optional>
        </attribute>
      </optional>
      <optional>
        <attribute name="class">
          <data type="NMTOKENS"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="role">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rel">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rev">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="typeof">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="content">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="datatype">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="resource">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="about">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="property">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:space">
          <choice>
            <value>default</value>
            <value>preserve</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="width">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="height">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="preserveAspectRatio">
          <data type="string">
            <param name="pattern">\s*(none|xMidYMid)\s*(meet)?\s*</param>
          </data>
        </attribute>
      </optional>
      <optional>
        <attribute name="viewBox"/>
      </optional>
      <optional>
        <attribute name="version">
          <choice>
            <value type="string">1.0</value>
            <value type="string">1.1</value>
            <value type="string">1.2</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="baseProfile">
          <choice>
            <value type="string">none</value>
            <value type="string">tiny</value>
            <value type="string">basic</value>
            <value type="string">full</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="snapshotTime">
          <choice>
            <value type="string">none</value>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <zeroOrMore>
        <choice>
          <ref name="desc"/>
          <ref name="svgTitle"/>
          <ref name="path"/>
          <ref name="rect"/>
          <ref name="circle"/>
          <ref name="line"/>
          <ref name="ellipse"/>
          <ref name="polyline"/>
          <ref name="polygon"/>
          <ref name="solidColor"/>
          <ref name="textArea"/>
          <ref name="text"/>
          <ref name="g"/>
          <ref name="defs"/>
          <ref name="use"/>
          <ref name="a"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="desc">
    <element name="desc">
      <optional>
        <choice>
          <attribute name="id">
            <data type="NCName"/>
          </attribute>
          <attribute name="xml:id">
            <data type="NCName"/>
          </attribute>
        </choice>
      </optional>
      <optional>
        <attribute name="xml:base">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:lang">
          <optional>
            <data type="language"/>
          </optional>
        </attribute>
      </optional>
      <optional>
        <attribute name="class">
          <data type="NMTOKENS"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="role">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rel">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rev">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="typeof">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="content">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="datatype">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="resource">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="about">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="property">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:space">
          <choice>
            <value>default</value>
            <value>preserve</value>
          </choice>
        </attribute>
      </optional>
      <interleave>
        <group>
          <optional>
            <attribute name="display">
              <choice>
                <value>inline</value>
                <value>block</value>
                <value>list-item</value>
                <value>run-in</value>
                <value>compact</value>
                <value>marker</value>
                <value>table</value>
                <value>inline-table</value>
                <value>table-row-group</value>
                <value>table-header-group</value>
                <value>table-footer-group</value>
                <value>table-row</value>
                <value>table-column-group</value>
                <value>table-column</value>
                <value>table-cell</value>
                <value>table-caption</value>
                <value>none</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="visibility">
              <choice>
                <value>visible</value>
                <value>hidden</value>
                <value>collapse</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="image-rendering">
              <choice>
                <value>auto</value>
                <value>optimizeSpeed</value>
                <value>optimizeQuality</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="shape-rendering">
              <choice>
                <value>auto</value>
                <value>optimizeSpeed</value>
                <value>crispEdges</value>
                <value>geometricPrecision</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-rendering">
              <choice>
                <value>auto</value>
                <value>optimizeSpeed</value>
                <value>optimizeLegibility</value>
                <value>geometricPrecision</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="buffered-rendering">
              <choice>
                <value>auto</value>
                <value>dynamic</value>
                <value>static</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="viewport-fill">
              <choice>
                <value>none</value>
                <ref name="rfc-color"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="viewport-fill-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
      </interleave>
      <text/>
    </element>
  </define>
  <define name="svgTitle">
    <element name="title">
      <optional>
        <choice>
          <attribute name="id">
            <data type="NCName"/>
          </attribute>
          <attribute name="xml:id">
            <data type="NCName"/>
          </attribute>
        </choice>
      </optional>
      <optional>
        <attribute name="xml:base">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:lang">
          <optional>
            <data type="language"/>
          </optional>
        </attribute>
      </optional>
      <optional>
        <attribute name="class">
          <data type="NMTOKENS"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="role">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rel">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rev">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="typeof">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="content">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="datatype">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="resource">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="about">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="property">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:space">
          <choice>
            <value>default</value>
            <value>preserve</value>
          </choice>
        </attribute>
      </optional>
      <interleave>
        <group>
          <optional>
            <attribute name="display">
              <choice>
                <value>inline</value>
                <value>block</value>
                <value>list-item</value>
                <value>run-in</value>
                <value>compact</value>
                <value>marker</value>
                <value>table</value>
                <value>inline-table</value>
                <value>table-row-group</value>
                <value>table-header-group</value>
                <value>table-footer-group</value>
                <value>table-row</value>
                <value>table-column-group</value>
                <value>table-column</value>
                <value>table-cell</value>
                <value>table-caption</value>
                <value>none</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="visibility">
              <choice>
                <value>visible</value>
                <value>hidden</value>
                <value>collapse</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="image-rendering">
              <choice>
                <value>auto</value>
                <value>optimizeSpeed</value>
                <value>optimizeQuality</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="shape-rendering">
              <choice>
                <value>auto</value>
                <value>optimizeSpeed</value>
                <value>crispEdges</value>
                <value>geometricPrecision</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-rendering">
              <choice>
                <value>auto</value>
                <value>optimizeSpeed</value>
                <value>optimizeLegibility</value>
                <value>geometricPrecision</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="buffered-rendering">
              <choice>
                <value>auto</value>
                <value>dynamic</value>
                <value>static</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="viewport-fill">
              <choice>
                <value>none</value>
                <ref name="rfc-color"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="viewport-fill-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
      </interleave>
      <text/>
    </element>
  </define>
  <define name="path">
    <element name="path">
      <optional>
        <choice>
          <attribute name="id">
            <data type="NCName"/>
          </attribute>
          <attribute name="xml:id">
            <data type="NCName"/>
          </attribute>
        </choice>
      </optional>
      <optional>
        <attribute name="xml:base">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:lang">
          <optional>
            <data type="language"/>
          </optional>
        </attribute>
      </optional>
      <optional>
        <attribute name="class">
          <data type="NMTOKENS"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="role">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rel">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rev">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="typeof">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="content">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="datatype">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="resource">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="about">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="property">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:space">
          <choice>
            <value>default</value>
            <value>preserve</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="transform">
          <choice>
            <data type="string"/>
            <value>none</value>
          </choice>
        </attribute>
      </optional>
      <interleave>
        <group>
          <optional>
            <attribute name="fill-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="fill">
              <choice>
                <value>none</value>
                <ref name="rfc-color"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="fill-rule">
              <choice>
                <value>inherit</value>
                <value>nonzero</value>
                <value>evenodd</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dasharray">
              <choice>
                <value>inherit</value>
                <value>none</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dashoffset">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linecap">
              <choice>
                <value>butt</value>
                <value>round</value>
                <value>square</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linejoin">
              <choice>
                <value>miter</value>
                <value>round</value>
                <value>bevel</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-miterlimit">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-width">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="color-rendering">
              <choice>
                <value>auto</value>
                <value>optimizeSpeed</value>
                <value>optimizeQuality</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <optional>
          <attribute name="vector-effect">
            <choice>
              <value>none</value>
              <value>non-scaling-stroke</value>
              <value>inherit</value>
            </choice>
          </attribute>
        </optional>
        <group>
          <optional>
            <attribute name="direction">
              <choice>
                <value>ltr</value>
                <value>rtl</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="unicode-bidi">
              <choice>
                <value>normal</value>
                <value>embed</value>
                <value>bidi-override</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="solid-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="solid-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="display-align">
              <choice>
                <value>auto</value>
                <value>before</value>
                <value>center</value>
                <value>after</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="line-increment">
              <choice>
                <value>auto</value>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="stop-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stop-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="font-family">
              <choice>
                <value>serif</value>
                <value>sans-serif</value>
                <value>monospace</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-size">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-style">
              <choice>
                <value>normal</value>
                <value>italic</value>
                <value>oblique</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-variant">
              <choice>
                <value>normal</value>
                <value>small-caps</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-weight">
              <choice>
                <value>normal</value>
                <value>bold</value>
                <value>bolder</value>
                <value>lighter</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-anchor">
              <choice>
                <value>start</value>
                <value>middle</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-align">
              <choice>
                <value>start</value>
                <value>center</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
      </interleave>
      <optional>
        <attribute name="d">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="pathLength">
          <data type="string"/>
        </attribute>
      </optional>
      <zeroOrMore>
        <choice>
          <ref name="desc"/>
          <ref name="svgTitle"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="rect">
    <element name="rect">
      <optional>
        <choice>
          <attribute name="id">
            <data type="NCName"/>
          </attribute>
          <attribute name="xml:id">
            <data type="NCName"/>
          </attribute>
        </choice>
      </optional>
      <optional>
        <attribute name="xml:base">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:lang">
          <optional>
            <data type="language"/>
          </optional>
        </attribute>
      </optional>
      <optional>
        <attribute name="class">
          <data type="NMTOKENS"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="role">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rel">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rev">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="typeof">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="content">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="datatype">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="resource">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="about">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="property">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:space">
          <choice>
            <value>default</value>
            <value>preserve</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="transform">
          <choice>
            <data type="string"/>
            <value>none</value>
          </choice>
        </attribute>
      </optional>
      <interleave>
        <group>
          <optional>
            <attribute name="fill-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="fill">
              <choice>
                <value>none</value>
                <ref name="rfc-color"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="fill-rule">
              <choice>
                <value>inherit</value>
                <value>nonzero</value>
                <value>evenodd</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dasharray">
              <choice>
                <value>inherit</value>
                <value>none</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dashoffset">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linecap">
              <choice>
                <value>butt</value>
                <value>round</value>
                <value>square</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linejoin">
              <choice>
                <value>miter</value>
                <value>round</value>
                <value>bevel</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-miterlimit">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-width">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="color-rendering">
              <choice>
                <value>auto</value>
                <value>optimizeSpeed</value>
                <value>optimizeQuality</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <optional>
          <attribute name="vector-effect">
            <choice>
              <value>none</value>
              <value>non-scaling-stroke</value>
              <value>inherit</value>
            </choice>
          </attribute>
        </optional>
        <group>
          <optional>
            <attribute name="direction">
              <choice>
                <value>ltr</value>
                <value>rtl</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="unicode-bidi">
              <choice>
                <value>normal</value>
                <value>embed</value>
                <value>bidi-override</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="solid-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="solid-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="display-align">
              <choice>
                <value>auto</value>
                <value>before</value>
                <value>center</value>
                <value>after</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="line-increment">
              <choice>
                <value>auto</value>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="stop-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stop-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="font-family">
              <choice>
                <value>serif</value>
                <value>sans-serif</value>
                <value>monospace</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-size">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-style">
              <choice>
                <value>normal</value>
                <value>italic</value>
                <value>oblique</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-variant">
              <choice>
                <value>normal</value>
                <value>small-caps</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-weight">
              <choice>
                <value>normal</value>
                <value>bold</value>
                <value>bolder</value>
                <value>lighter</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-anchor">
              <choice>
                <value>start</value>
                <value>middle</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-align">
              <choice>
                <value>start</value>
                <value>center</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
      </interleave>
      <optional>
        <attribute name="x">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="width">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="height">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rx">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="ry">
          <data type="string"/>
        </attribute>
      </optional>
      <zeroOrMore>
        <choice>
          <ref name="desc"/>
          <ref name="svgTitle"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="circle">
    <element name="circle">
      <optional>
        <choice>
          <attribute name="id">
            <data type="NCName"/>
          </attribute>
          <attribute name="xml:id">
            <data type="NCName"/>
          </attribute>
        </choice>
      </optional>
      <optional>
        <attribute name="xml:base">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:lang">
          <optional>
            <data type="language"/>
          </optional>
        </attribute>
      </optional>
      <optional>
        <attribute name="class">
          <data type="NMTOKENS"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="role">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rel">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rev">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="typeof">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="content">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="datatype">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="resource">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="about">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="property">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:space">
          <choice>
            <value>default</value>
            <value>preserve</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="transform">
          <choice>
            <data type="string"/>
            <value>none</value>
          </choice>
        </attribute>
      </optional>
      <interleave>
        <group>
          <optional>
            <attribute name="fill-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="fill">
              <choice>
                <value>none</value>
                <ref name="rfc-color"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="fill-rule">
              <choice>
                <value>inherit</value>
                <value>nonzero</value>
                <value>evenodd</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dasharray">
              <choice>
                <value>inherit</value>
                <value>none</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dashoffset">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linecap">
              <choice>
                <value>butt</value>
                <value>round</value>
                <value>square</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linejoin">
              <choice>
                <value>miter</value>
                <value>round</value>
                <value>bevel</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-miterlimit">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-width">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="color-rendering">
              <choice>
                <value>auto</value>
                <value>optimizeSpeed</value>
                <value>optimizeQuality</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <optional>
          <attribute name="vector-effect">
            <choice>
              <value>none</value>
              <value>non-scaling-stroke</value>
              <value>inherit</value>
            </choice>
          </attribute>
        </optional>
        <group>
          <optional>
            <attribute name="direction">
              <choice>
                <value>ltr</value>
                <value>rtl</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="unicode-bidi">
              <choice>
                <value>normal</value>
                <value>embed</value>
                <value>bidi-override</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="solid-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="solid-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="display-align">
              <choice>
                <value>auto</value>
                <value>before</value>
                <value>center</value>
                <value>after</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="line-increment">
              <choice>
                <value>auto</value>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="stop-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stop-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="font-family">
              <choice>
                <value>serif</value>
                <value>sans-serif</value>
                <value>monospace</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-size">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-style">
              <choice>
                <value>normal</value>
                <value>italic</value>
                <value>oblique</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-variant">
              <choice>
                <value>normal</value>
                <value>small-caps</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-weight">
              <choice>
                <value>normal</value>
                <value>bold</value>
                <value>bolder</value>
                <value>lighter</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-anchor">
              <choice>
                <value>start</value>
                <value>middle</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-align">
              <choice>
                <value>start</value>
                <value>center</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
      </interleave>
      <optional>
        <attribute name="cx">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="cy">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="r">
          <data type="string"/>
        </attribute>
      </optional>
      <zeroOrMore>
        <choice>
          <ref name="desc"/>
          <ref name="svgTitle"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="line">
    <element name="line">
      <optional>
        <choice>
          <attribute name="id">
            <data type="NCName"/>
          </attribute>
          <attribute name="xml:id">
            <data type="NCName"/>
          </attribute>
        </choice>
      </optional>
      <optional>
        <attribute name="xml:base">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:lang">
          <optional>
            <data type="language"/>
          </optional>
        </attribute>
      </optional>
      <optional>
        <attribute name="class">
          <data type="NMTOKENS"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="role">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rel">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rev">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="typeof">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="content">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="datatype">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="resource">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="about">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="property">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:space">
          <choice>
            <value>default</value>
            <value>preserve</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="transform">
          <choice>
            <data type="string"/>
            <value>none</value>
          </choice>
        </attribute>
      </optional>
      <interleave>
        <group>
          <optional>
            <attribute name="fill-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="fill">
              <choice>
                <value>none</value>
                <ref name="rfc-color"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="fill-rule">
              <choice>
                <value>inherit</value>
                <value>nonzero</value>
                <value>evenodd</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dasharray">
              <choice>
                <value>inherit</value>
                <value>none</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dashoffset">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linecap">
              <choice>
                <value>butt</value>
                <value>round</value>
                <value>square</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linejoin">
              <choice>
                <value>miter</value>
                <value>round</value>
                <value>bevel</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-miterlimit">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-width">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="color-rendering">
              <choice>
                <value>auto</value>
                <value>optimizeSpeed</value>
                <value>optimizeQuality</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <optional>
          <attribute name="vector-effect">
            <choice>
              <value>none</value>
              <value>non-scaling-stroke</value>
              <value>inherit</value>
            </choice>
          </attribute>
        </optional>
        <group>
          <optional>
            <attribute name="direction">
              <choice>
                <value>ltr</value>
                <value>rtl</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="unicode-bidi">
              <choice>
                <value>normal</value>
                <value>embed</value>
                <value>bidi-override</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="solid-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="solid-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="display-align">
              <choice>
                <value>auto</value>
                <value>before</value>
                <value>center</value>
                <value>after</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="line-increment">
              <choice>
                <value>auto</value>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="stop-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stop-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="font-family">
              <choice>
                <value>serif</value>
                <value>sans-serif</value>
                <value>monospace</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-size">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-style">
              <choice>
                <value>normal</value>
                <value>italic</value>
                <value>oblique</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-variant">
              <choice>
                <value>normal</value>
                <value>small-caps</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-weight">
              <choice>
                <value>normal</value>
                <value>bold</value>
                <value>bolder</value>
                <value>lighter</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-anchor">
              <choice>
                <value>start</value>
                <value>middle</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-align">
              <choice>
                <value>start</value>
                <value>center</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
      </interleave>
      <optional>
        <attribute name="x1">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y1">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="x2">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y2">
          <data type="string"/>
        </attribute>
      </optional>
      <zeroOrMore>
        <choice>
          <ref name="desc"/>
          <ref name="svgTitle"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="ellipse">
    <element name="ellipse">
      <optional>
        <choice>
          <attribute name="id">
            <data type="NCName"/>
          </attribute>
          <attribute name="xml:id">
            <data type="NCName"/>
          </attribute>
        </choice>
      </optional>
      <optional>
        <attribute name="xml:base">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:lang">
          <optional>
            <data type="language"/>
          </optional>
        </attribute>
      </optional>
      <optional>
        <attribute name="class">
          <data type="NMTOKENS"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="role">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rel">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rev">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="typeof">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="content">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="datatype">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="resource">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="about">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="property">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:space">
          <choice>
            <value>default</value>
            <value>preserve</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="transform">
          <choice>
            <data type="string"/>
            <value>none</value>
          </choice>
        </attribute>
      </optional>
      <interleave>
        <group>
          <optional>
            <attribute name="fill-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="fill">
              <choice>
                <value>none</value>
                <ref name="rfc-color"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="fill-rule">
              <choice>
                <value>inherit</value>
                <value>nonzero</value>
                <value>evenodd</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dasharray">
              <choice>
                <value>inherit</value>
                <value>none</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dashoffset">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linecap">
              <choice>
                <value>butt</value>
                <value>round</value>
                <value>square</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linejoin">
              <choice>
                <value>miter</value>
                <value>round</value>
                <value>bevel</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-miterlimit">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-width">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="color-rendering">
              <choice>
                <value>auto</value>
                <value>optimizeSpeed</value>
                <value>optimizeQuality</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <optional>
          <attribute name="vector-effect">
            <choice>
              <value>none</value>
              <value>non-scaling-stroke</value>
              <value>inherit</value>
            </choice>
          </attribute>
        </optional>
        <group>
          <optional>
            <attribute name="direction">
              <choice>
                <value>ltr</value>
                <value>rtl</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="unicode-bidi">
              <choice>
                <value>normal</value>
                <value>embed</value>
                <value>bidi-override</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="solid-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="solid-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="display-align">
              <choice>
                <value>auto</value>
                <value>before</value>
                <value>center</value>
                <value>after</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="line-increment">
              <choice>
                <value>auto</value>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="stop-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stop-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="font-family">
              <choice>
                <value>serif</value>
                <value>sans-serif</value>
                <value>monospace</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-size">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-style">
              <choice>
                <value>normal</value>
                <value>italic</value>
                <value>oblique</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-variant">
              <choice>
                <value>normal</value>
                <value>small-caps</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-weight">
              <choice>
                <value>normal</value>
                <value>bold</value>
                <value>bolder</value>
                <value>lighter</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-anchor">
              <choice>
                <value>start</value>
                <value>middle</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-align">
              <choice>
                <value>start</value>
                <value>center</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
      </interleave>
      <optional>
        <attribute name="rx">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="ry">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="cx">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="cy">
          <data type="string"/>
        </attribute>
      </optional>
      <zeroOrMore>
        <choice>
          <ref name="desc"/>
          <ref name="svgTitle"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="polyline">
    <element name="polyline">
      <optional>
        <choice>
          <attribute name="id">
            <data type="NCName"/>
          </attribute>
          <attribute name="xml:id">
            <data type="NCName"/>
          </attribute>
        </choice>
      </optional>
      <optional>
        <attribute name="xml:base">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:lang">
          <optional>
            <data type="language"/>
          </optional>
        </attribute>
      </optional>
      <optional>
        <attribute name="class">
          <data type="NMTOKENS"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="role">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rel">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rev">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="typeof">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="content">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="datatype">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="resource">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="about">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="property">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:space">
          <choice>
            <value>default</value>
            <value>preserve</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="transform">
          <choice>
            <data type="string"/>
            <value>none</value>
          </choice>
        </attribute>
      </optional>
      <interleave>
        <group>
          <optional>
            <attribute name="fill-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="fill">
              <choice>
                <value>none</value>
                <ref name="rfc-color"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="fill-rule">
              <choice>
                <value>inherit</value>
                <value>nonzero</value>
                <value>evenodd</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dasharray">
              <choice>
                <value>inherit</value>
                <value>none</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dashoffset">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linecap">
              <choice>
                <value>butt</value>
                <value>round</value>
                <value>square</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linejoin">
              <choice>
                <value>miter</value>
                <value>round</value>
                <value>bevel</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-miterlimit">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-width">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="color-rendering">
              <choice>
                <value>auto</value>
                <value>optimizeSpeed</value>
                <value>optimizeQuality</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <optional>
          <attribute name="vector-effect">
            <choice>
              <value>none</value>
              <value>non-scaling-stroke</value>
              <value>inherit</value>
            </choice>
          </attribute>
        </optional>
        <group>
          <optional>
            <attribute name="direction">
              <choice>
                <value>ltr</value>
                <value>rtl</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="unicode-bidi">
              <choice>
                <value>normal</value>
                <value>embed</value>
                <value>bidi-override</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="solid-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="solid-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="display-align">
              <choice>
                <value>auto</value>
                <value>before</value>
                <value>center</value>
                <value>after</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="line-increment">
              <choice>
                <value>auto</value>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="stop-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stop-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="font-family">
              <choice>
                <value>serif</value>
                <value>sans-serif</value>
                <value>monospace</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-size">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-style">
              <choice>
                <value>normal</value>
                <value>italic</value>
                <value>oblique</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-variant">
              <choice>
                <value>normal</value>
                <value>small-caps</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-weight">
              <choice>
                <value>normal</value>
                <value>bold</value>
                <value>bolder</value>
                <value>lighter</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-anchor">
              <choice>
                <value>start</value>
                <value>middle</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-align">
              <choice>
                <value>start</value>
                <value>center</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
      </interleave>
      <optional>
        <attribute name="points">
          <data type="string"/>
        </attribute>
      </optional>
      <zeroOrMore>
        <choice>
          <ref name="desc"/>
          <ref name="svgTitle"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="polygon">
    <element name="polygon">
      <optional>
        <choice>
          <attribute name="id">
            <data type="NCName"/>
          </attribute>
          <attribute name="xml:id">
            <data type="NCName"/>
          </attribute>
        </choice>
      </optional>
      <optional>
        <attribute name="xml:base">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:lang">
          <optional>
            <data type="language"/>
          </optional>
        </attribute>
      </optional>
      <optional>
        <attribute name="class">
          <data type="NMTOKENS"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="role">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rel">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rev">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="typeof">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="content">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="datatype">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="resource">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="about">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="property">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:space">
          <choice>
            <value>default</value>
            <value>preserve</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="transform">
          <choice>
            <data type="string"/>
            <value>none</value>
          </choice>
        </attribute>
      </optional>
      <interleave>
        <group>
          <optional>
            <attribute name="fill-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="fill">
              <choice>
                <value>none</value>
                <ref name="rfc-color"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="fill-rule">
              <choice>
                <value>inherit</value>
                <value>nonzero</value>
                <value>evenodd</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dasharray">
              <choice>
                <value>inherit</value>
                <value>none</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dashoffset">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linecap">
              <choice>
                <value>butt</value>
                <value>round</value>
                <value>square</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linejoin">
              <choice>
                <value>miter</value>
                <value>round</value>
                <value>bevel</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-miterlimit">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-width">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="color-rendering">
              <choice>
                <value>auto</value>
                <value>optimizeSpeed</value>
                <value>optimizeQuality</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <optional>
          <attribute name="vector-effect">
            <choice>
              <value>none</value>
              <value>non-scaling-stroke</value>
              <value>inherit</value>
            </choice>
          </attribute>
        </optional>
        <group>
          <optional>
            <attribute name="direction">
              <choice>
                <value>ltr</value>
                <value>rtl</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="unicode-bidi">
              <choice>
                <value>normal</value>
                <value>embed</value>
                <value>bidi-override</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="solid-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="solid-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="display-align">
              <choice>
                <value>auto</value>
                <value>before</value>
                <value>center</value>
                <value>after</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="line-increment">
              <choice>
                <value>auto</value>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="stop-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stop-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="font-family">
              <choice>
                <value>serif</value>
                <value>sans-serif</value>
                <value>monospace</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-size">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-style">
              <choice>
                <value>normal</value>
                <value>italic</value>
                <value>oblique</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-variant">
              <choice>
                <value>normal</value>
                <value>small-caps</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-weight">
              <choice>
                <value>normal</value>
                <value>bold</value>
                <value>bolder</value>
                <value>lighter</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-anchor">
              <choice>
                <value>start</value>
                <value>middle</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-align">
              <choice>
                <value>start</value>
                <value>center</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
      </interleave>
      <optional>
        <attribute name="points">
          <data type="string"/>
        </attribute>
      </optional>
      <zeroOrMore>
        <choice>
          <ref name="desc"/>
          <ref name="svgTitle"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="solidColor">
    <element name="solidColor">
      <interleave>
        <group>
          <optional>
            <attribute name="fill-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="fill">
              <choice>
                <value>none</value>
                <ref name="rfc-color"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="fill-rule">
              <choice>
                <value>inherit</value>
                <value>nonzero</value>
                <value>evenodd</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dasharray">
              <choice>
                <value>inherit</value>
                <value>none</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dashoffset">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linecap">
              <choice>
                <value>butt</value>
                <value>round</value>
                <value>square</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linejoin">
              <choice>
                <value>miter</value>
                <value>round</value>
                <value>bevel</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-miterlimit">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-width">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="color-rendering">
              <choice>
                <value>auto</value>
                <value>optimizeSpeed</value>
                <value>optimizeQuality</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <optional>
          <attribute name="vector-effect">
            <choice>
              <value>none</value>
              <value>non-scaling-stroke</value>
              <value>inherit</value>
            </choice>
          </attribute>
        </optional>
        <group>
          <optional>
            <attribute name="direction">
              <choice>
                <value>ltr</value>
                <value>rtl</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="unicode-bidi">
              <choice>
                <value>normal</value>
                <value>embed</value>
                <value>bidi-override</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="solid-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="solid-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="display-align">
              <choice>
                <value>auto</value>
                <value>before</value>
                <value>center</value>
                <value>after</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="line-increment">
              <choice>
                <value>auto</value>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="stop-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stop-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="font-family">
              <choice>
                <value>serif</value>
                <value>sans-serif</value>
                <value>monospace</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-size">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-style">
              <choice>
                <value>normal</value>
                <value>italic</value>
                <value>oblique</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-variant">
              <choice>
                <value>normal</value>
                <value>small-caps</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-weight">
              <choice>
                <value>normal</value>
                <value>bold</value>
                <value>bolder</value>
                <value>lighter</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-anchor">
              <choice>
                <value>start</value>
                <value>middle</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-align">
              <choice>
                <value>start</value>
                <value>center</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
      </interleave>
      <optional>
        <choice>
          <attribute name="id">
            <data type="NCName"/>
          </attribute>
          <attribute name="xml:id">
            <data type="NCName"/>
          </attribute>
        </choice>
      </optional>
      <optional>
        <attribute name="xml:base">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:lang">
          <optional>
            <data type="language"/>
          </optional>
        </attribute>
      </optional>
      <optional>
        <attribute name="class">
          <data type="NMTOKENS"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="role">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rel">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rev">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="typeof">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="content">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="datatype">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="resource">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="about">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="property">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:space">
          <choice>
            <value>default</value>
            <value>preserve</value>
          </choice>
        </attribute>
      </optional>
      <zeroOrMore>
        <choice>
          <ref name="desc"/>
          <ref name="svgTitle"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="textArea">
    <element name="textArea">
      <interleave>
        <group>
          <optional>
            <attribute name="fill-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="fill">
              <choice>
                <value>none</value>
                <ref name="rfc-color"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="fill-rule">
              <choice>
                <value>inherit</value>
                <value>nonzero</value>
                <value>evenodd</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dasharray">
              <choice>
                <value>inherit</value>
                <value>none</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dashoffset">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linecap">
              <choice>
                <value>butt</value>
                <value>round</value>
                <value>square</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linejoin">
              <choice>
                <value>miter</value>
                <value>round</value>
                <value>bevel</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-miterlimit">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-width">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="color-rendering">
              <choice>
                <value>auto</value>
                <value>optimizeSpeed</value>
                <value>optimizeQuality</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <optional>
          <attribute name="vector-effect">
            <choice>
              <value>none</value>
              <value>non-scaling-stroke</value>
              <value>inherit</value>
            </choice>
          </attribute>
        </optional>
        <group>
          <optional>
            <attribute name="direction">
              <choice>
                <value>ltr</value>
                <value>rtl</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="unicode-bidi">
              <choice>
                <value>normal</value>
                <value>embed</value>
                <value>bidi-override</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="solid-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="solid-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="display-align">
              <choice>
                <value>auto</value>
                <value>before</value>
                <value>center</value>
                <value>after</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="line-increment">
              <choice>
                <value>auto</value>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="stop-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stop-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="font-family">
              <choice>
                <value>serif</value>
                <value>sans-serif</value>
                <value>monospace</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-size">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-style">
              <choice>
                <value>normal</value>
                <value>italic</value>
                <value>oblique</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-variant">
              <choice>
                <value>normal</value>
                <value>small-caps</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-weight">
              <choice>
                <value>normal</value>
                <value>bold</value>
                <value>bolder</value>
                <value>lighter</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-anchor">
              <choice>
                <value>start</value>
                <value>middle</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-align">
              <choice>
                <value>start</value>
                <value>center</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
      </interleave>
      <optional>
        <choice>
          <attribute name="id">
            <data type="NCName"/>
          </attribute>
          <attribute name="xml:id">
            <data type="NCName"/>
          </attribute>
        </choice>
      </optional>
      <optional>
        <attribute name="xml:base">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:lang">
          <optional>
            <data type="language"/>
          </optional>
        </attribute>
      </optional>
      <optional>
        <attribute name="class">
          <data type="NMTOKENS"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="role">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rel">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rev">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="typeof">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="content">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="datatype">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="resource">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="about">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="property">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:space">
          <choice>
            <value>default</value>
            <value>preserve</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="transform">
          <choice>
            <data type="string"/>
            <value>none</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="x">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="width">
          <choice>
            <data type="string"/>
            <value>auto</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="height">
          <choice>
            <data type="string"/>
            <value>auto</value>
          </choice>
        </attribute>
      </optional>
      <oneOrMore>
        <choice>
          <ref name="tspan"/>
          <ref name="desc"/>
          <ref name="svgTitle"/>
          <ref name="tspan_2"/>
          <text/>
          <ref name="a_2"/>
        </choice>
      </oneOrMore>
    </element>
  </define>
  <define name="text">
    <element name="text">
      <interleave>
        <group>
          <optional>
            <attribute name="fill-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="fill">
              <choice>
                <value>none</value>
                <ref name="rfc-color"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="fill-rule">
              <choice>
                <value>inherit</value>
                <value>nonzero</value>
                <value>evenodd</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dasharray">
              <choice>
                <value>inherit</value>
                <value>none</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dashoffset">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linecap">
              <choice>
                <value>butt</value>
                <value>round</value>
                <value>square</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linejoin">
              <choice>
                <value>miter</value>
                <value>round</value>
                <value>bevel</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-miterlimit">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-width">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="color-rendering">
              <choice>
                <value>auto</value>
                <value>optimizeSpeed</value>
                <value>optimizeQuality</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <optional>
          <attribute name="vector-effect">
            <choice>
              <value>none</value>
              <value>non-scaling-stroke</value>
              <value>inherit</value>
            </choice>
          </attribute>
        </optional>
        <group>
          <optional>
            <attribute name="direction">
              <choice>
                <value>ltr</value>
                <value>rtl</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="unicode-bidi">
              <choice>
                <value>normal</value>
                <value>embed</value>
                <value>bidi-override</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="solid-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="solid-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="display-align">
              <choice>
                <value>auto</value>
                <value>before</value>
                <value>center</value>
                <value>after</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="line-increment">
              <choice>
                <value>auto</value>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="stop-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stop-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="font-family">
              <choice>
                <value>serif</value>
                <value>sans-serif</value>
                <value>monospace</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-size">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-style">
              <choice>
                <value>normal</value>
                <value>italic</value>
                <value>oblique</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-variant">
              <choice>
                <value>normal</value>
                <value>small-caps</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-weight">
              <choice>
                <value>normal</value>
                <value>bold</value>
                <value>bolder</value>
                <value>lighter</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-anchor">
              <choice>
                <value>start</value>
                <value>middle</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-align">
              <choice>
                <value>start</value>
                <value>center</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
      </interleave>
      <optional>
        <choice>
          <attribute name="id">
            <data type="NCName"/>
          </attribute>
          <attribute name="xml:id">
            <data type="NCName"/>
          </attribute>
        </choice>
      </optional>
      <optional>
        <attribute name="xml:base">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:lang">
          <optional>
            <data type="language"/>
          </optional>
        </attribute>
      </optional>
      <optional>
        <attribute name="class">
          <data type="NMTOKENS"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="role">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rel">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rev">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="typeof">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="content">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="datatype">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="resource">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="about">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="property">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:space">
          <choice>
            <value>default</value>
            <value>preserve</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="transform">
          <choice>
            <data type="string"/>
            <value>none</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="x">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rotate">
          <data type="string"/>
        </attribute>
      </optional>
      <oneOrMore>
        <choice>
          <ref name="desc"/>
          <ref name="svgTitle"/>
          <ref name="tspan_2"/>
          <text/>
          <ref name="a_2"/>
        </choice>
      </oneOrMore>
    </element>
  </define>
  <define name="g">
    <element name="g">
      <interleave>
        <group>
          <optional>
            <attribute name="fill-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="fill">
              <choice>
                <value>none</value>
                <ref name="rfc-color"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="fill-rule">
              <choice>
                <value>inherit</value>
                <value>nonzero</value>
                <value>evenodd</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dasharray">
              <choice>
                <value>inherit</value>
                <value>none</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dashoffset">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linecap">
              <choice>
                <value>butt</value>
                <value>round</value>
                <value>square</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linejoin">
              <choice>
                <value>miter</value>
                <value>round</value>
                <value>bevel</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-miterlimit">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-width">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="color-rendering">
              <choice>
                <value>auto</value>
                <value>optimizeSpeed</value>
                <value>optimizeQuality</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <optional>
          <attribute name="vector-effect">
            <choice>
              <value>none</value>
              <value>non-scaling-stroke</value>
              <value>inherit</value>
            </choice>
          </attribute>
        </optional>
        <group>
          <optional>
            <attribute name="direction">
              <choice>
                <value>ltr</value>
                <value>rtl</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="unicode-bidi">
              <choice>
                <value>normal</value>
                <value>embed</value>
                <value>bidi-override</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="solid-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="solid-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="display-align">
              <choice>
                <value>auto</value>
                <value>before</value>
                <value>center</value>
                <value>after</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="line-increment">
              <choice>
                <value>auto</value>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="stop-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stop-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="font-family">
              <choice>
                <value>serif</value>
                <value>sans-serif</value>
                <value>monospace</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-size">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-style">
              <choice>
                <value>normal</value>
                <value>italic</value>
                <value>oblique</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-variant">
              <choice>
                <value>normal</value>
                <value>small-caps</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-weight">
              <choice>
                <value>normal</value>
                <value>bold</value>
                <value>bolder</value>
                <value>lighter</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-anchor">
              <choice>
                <value>start</value>
                <value>middle</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-align">
              <choice>
                <value>start</value>
                <value>center</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
      </interleave>
      <optional>
        <choice>
          <attribute name="id">
            <data type="NCName"/>
          </attribute>
          <attribute name="xml:id">
            <data type="NCName"/>
          </attribute>
        </choice>
      </optional>
      <optional>
        <attribute name="xml:base">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:lang">
          <optional>
            <data type="language"/>
          </optional>
        </attribute>
      </optional>
      <optional>
        <attribute name="class">
          <data type="NMTOKENS"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="role">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rel">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rev">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="typeof">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="content">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="datatype">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="resource">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="about">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="property">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:space">
          <choice>
            <value>default</value>
            <value>preserve</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="transform">
          <choice>
            <data type="string"/>
            <value>none</value>
          </choice>
        </attribute>
      </optional>
      <zeroOrMore>
        <choice>
          <ref name="desc"/>
          <ref name="svgTitle"/>
          <ref name="path"/>
          <ref name="rect"/>
          <ref name="circle"/>
          <ref name="line"/>
          <ref name="ellipse"/>
          <ref name="polyline"/>
          <ref name="polygon"/>
          <ref name="solidColor"/>
          <ref name="textArea"/>
          <ref name="text"/>
          <ref name="g"/>
          <ref name="defs"/>
          <ref name="use"/>
          <ref name="a"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="defs">
    <element name="defs">
      <interleave>
        <group>
          <optional>
            <attribute name="fill-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="fill">
              <choice>
                <value>none</value>
                <ref name="rfc-color"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="fill-rule">
              <choice>
                <value>inherit</value>
                <value>nonzero</value>
                <value>evenodd</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dasharray">
              <choice>
                <value>inherit</value>
                <value>none</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dashoffset">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linecap">
              <choice>
                <value>butt</value>
                <value>round</value>
                <value>square</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linejoin">
              <choice>
                <value>miter</value>
                <value>round</value>
                <value>bevel</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-miterlimit">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-width">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="color-rendering">
              <choice>
                <value>auto</value>
                <value>optimizeSpeed</value>
                <value>optimizeQuality</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <optional>
          <attribute name="vector-effect">
            <choice>
              <value>none</value>
              <value>non-scaling-stroke</value>
              <value>inherit</value>
            </choice>
          </attribute>
        </optional>
        <group>
          <optional>
            <attribute name="direction">
              <choice>
                <value>ltr</value>
                <value>rtl</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="unicode-bidi">
              <choice>
                <value>normal</value>
                <value>embed</value>
                <value>bidi-override</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="solid-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="solid-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="display-align">
              <choice>
                <value>auto</value>
                <value>before</value>
                <value>center</value>
                <value>after</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="line-increment">
              <choice>
                <value>auto</value>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="stop-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stop-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="font-family">
              <choice>
                <value>serif</value>
                <value>sans-serif</value>
                <value>monospace</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-size">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-style">
              <choice>
                <value>normal</value>
                <value>italic</value>
                <value>oblique</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-variant">
              <choice>
                <value>normal</value>
                <value>small-caps</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-weight">
              <choice>
                <value>normal</value>
                <value>bold</value>
                <value>bolder</value>
                <value>lighter</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-anchor">
              <choice>
                <value>start</value>
                <value>middle</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-align">
              <choice>
                <value>start</value>
                <value>center</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
      </interleave>
      <optional>
        <choice>
          <attribute name="id">
            <data type="NCName"/>
          </attribute>
          <attribute name="xml:id">
            <data type="NCName"/>
          </attribute>
        </choice>
      </optional>
      <optional>
        <attribute name="xml:base">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:lang">
          <optional>
            <data type="language"/>
          </optional>
        </attribute>
      </optional>
      <optional>
        <attribute name="class">
          <data type="NMTOKENS"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="role">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rel">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rev">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="typeof">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="content">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="datatype">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="resource">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="about">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="property">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:space">
          <choice>
            <value>default</value>
            <value>preserve</value>
          </choice>
        </attribute>
      </optional>
      <zeroOrMore>
        <choice>
          <ref name="desc"/>
          <ref name="svgTitle"/>
          <ref name="path"/>
          <ref name="rect"/>
          <ref name="circle"/>
          <ref name="line"/>
          <ref name="ellipse"/>
          <ref name="polyline"/>
          <ref name="polygon"/>
          <ref name="solidColor"/>
          <ref name="textArea"/>
          <ref name="text"/>
          <ref name="g"/>
          <ref name="defs"/>
          <ref name="use"/>
          <ref name="a"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="use">
    <element name="use">
      <interleave>
        <group>
          <optional>
            <attribute name="fill-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="fill">
              <choice>
                <value>none</value>
                <ref name="rfc-color"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="fill-rule">
              <choice>
                <value>inherit</value>
                <value>nonzero</value>
                <value>evenodd</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dasharray">
              <choice>
                <value>inherit</value>
                <value>none</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dashoffset">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linecap">
              <choice>
                <value>butt</value>
                <value>round</value>
                <value>square</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linejoin">
              <choice>
                <value>miter</value>
                <value>round</value>
                <value>bevel</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-miterlimit">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-width">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="color-rendering">
              <choice>
                <value>auto</value>
                <value>optimizeSpeed</value>
                <value>optimizeQuality</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <optional>
          <attribute name="vector-effect">
            <choice>
              <value>none</value>
              <value>non-scaling-stroke</value>
              <value>inherit</value>
            </choice>
          </attribute>
        </optional>
        <group>
          <optional>
            <attribute name="direction">
              <choice>
                <value>ltr</value>
                <value>rtl</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="unicode-bidi">
              <choice>
                <value>normal</value>
                <value>embed</value>
                <value>bidi-override</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="solid-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="solid-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="display-align">
              <choice>
                <value>auto</value>
                <value>before</value>
                <value>center</value>
                <value>after</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="line-increment">
              <choice>
                <value>auto</value>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="stop-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stop-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="font-family">
              <choice>
                <value>serif</value>
                <value>sans-serif</value>
                <value>monospace</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-size">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-style">
              <choice>
                <value>normal</value>
                <value>italic</value>
                <value>oblique</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-variant">
              <choice>
                <value>normal</value>
                <value>small-caps</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-weight">
              <choice>
                <value>normal</value>
                <value>bold</value>
                <value>bolder</value>
                <value>lighter</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-anchor">
              <choice>
                <value>start</value>
                <value>middle</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-align">
              <choice>
                <value>start</value>
                <value>center</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
      </interleave>
      <optional>
        <choice>
          <attribute name="id">
            <data type="NCName"/>
          </attribute>
          <attribute name="xml:id">
            <data type="NCName"/>
          </attribute>
        </choice>
      </optional>
      <optional>
        <attribute name="xml:base">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:lang">
          <optional>
            <data type="language"/>
          </optional>
        </attribute>
      </optional>
      <optional>
        <attribute name="class">
          <data type="NMTOKENS"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="role">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rel">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rev">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="typeof">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="content">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="datatype">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="resource">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="about">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="property">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:space">
          <choice>
            <value>default</value>
            <value>preserve</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="transform">
          <choice>
            <data type="string"/>
            <value>none</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:show">
          <value>embed</value>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:actuate">
          <value>onLoad</value>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:type">
          <value>simple</value>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:role">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:arcrole">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:title"/>
      </optional>
      <optional>
        <attribute name="xlink:href">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="x">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="y">
          <data type="string"/>
        </attribute>
      </optional>
      <zeroOrMore>
        <choice>
          <ref name="desc"/>
          <ref name="svgTitle"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="a">
    <element name="a">
      <optional>
        <choice>
          <attribute name="id">
            <data type="NCName"/>
          </attribute>
          <attribute name="xml:id">
            <data type="NCName"/>
          </attribute>
        </choice>
      </optional>
      <optional>
        <attribute name="xml:base">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:lang">
          <optional>
            <data type="language"/>
          </optional>
        </attribute>
      </optional>
      <optional>
        <attribute name="class">
          <data type="NMTOKENS"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="role">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rel">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rev">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="typeof">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="content">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="datatype">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="resource">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="about">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="property">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:space">
          <choice>
            <value>default</value>
            <value>preserve</value>
          </choice>
        </attribute>
      </optional>
      <interleave>
        <group>
          <optional>
            <attribute name="fill-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="fill">
              <choice>
                <value>none</value>
                <ref name="rfc-color"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="fill-rule">
              <choice>
                <value>inherit</value>
                <value>nonzero</value>
                <value>evenodd</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dasharray">
              <choice>
                <value>inherit</value>
                <value>none</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dashoffset">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linecap">
              <choice>
                <value>butt</value>
                <value>round</value>
                <value>square</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linejoin">
              <choice>
                <value>miter</value>
                <value>round</value>
                <value>bevel</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-miterlimit">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-width">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="color-rendering">
              <choice>
                <value>auto</value>
                <value>optimizeSpeed</value>
                <value>optimizeQuality</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <optional>
          <attribute name="vector-effect">
            <choice>
              <value>none</value>
              <value>non-scaling-stroke</value>
              <value>inherit</value>
            </choice>
          </attribute>
        </optional>
        <group>
          <optional>
            <attribute name="direction">
              <choice>
                <value>ltr</value>
                <value>rtl</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="unicode-bidi">
              <choice>
                <value>normal</value>
                <value>embed</value>
                <value>bidi-override</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="solid-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="solid-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="display-align">
              <choice>
                <value>auto</value>
                <value>before</value>
                <value>center</value>
                <value>after</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="line-increment">
              <choice>
                <value>auto</value>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="stop-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stop-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="font-family">
              <choice>
                <value>serif</value>
                <value>sans-serif</value>
                <value>monospace</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-size">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-style">
              <choice>
                <value>normal</value>
                <value>italic</value>
                <value>oblique</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-variant">
              <choice>
                <value>normal</value>
                <value>small-caps</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-weight">
              <choice>
                <value>normal</value>
                <value>bold</value>
                <value>bolder</value>
                <value>lighter</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-anchor">
              <choice>
                <value>start</value>
                <value>middle</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-align">
              <choice>
                <value>start</value>
                <value>center</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
      </interleave>
      <optional>
        <attribute name="transform">
          <choice>
            <data type="string"/>
            <value>none</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:show">
          <choice>
            <value>new</value>
            <value>replace</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:actuate">
          <value>onRequest</value>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:type">
          <value>simple</value>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:role">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:arcrole">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:title"/>
      </optional>
      <optional>
        <attribute name="xlink:href">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="target">
          <choice>
            <value>_replace</value>
            <value>_self</value>
            <value>_parent</value>
            <value>_top</value>
            <value>_blank</value>
            <data type="Name"/>
          </choice>
        </attribute>
      </optional>
      <zeroOrMore>
        <choice>
          <ref name="desc"/>
          <ref name="svgTitle"/>
          <ref name="path"/>
          <ref name="rect"/>
          <ref name="circle"/>
          <ref name="line"/>
          <ref name="ellipse"/>
          <ref name="polyline"/>
          <ref name="polygon"/>
          <ref name="solidColor"/>
          <ref name="textArea"/>
          <ref name="text"/>
          <ref name="g"/>
          <ref name="defs"/>
          <ref name="use"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>
  <define name="tspan">
    <element name="tspan">
      <interleave>
        <group>
          <optional>
            <attribute name="fill-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="fill">
              <choice>
                <value>none</value>
                <ref name="rfc-color"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="fill-rule">
              <choice>
                <value>inherit</value>
                <value>nonzero</value>
                <value>evenodd</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dasharray">
              <choice>
                <value>inherit</value>
                <value>none</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dashoffset">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linecap">
              <choice>
                <value>butt</value>
                <value>round</value>
                <value>square</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linejoin">
              <choice>
                <value>miter</value>
                <value>round</value>
                <value>bevel</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-miterlimit">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-width">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="color-rendering">
              <choice>
                <value>auto</value>
                <value>optimizeSpeed</value>
                <value>optimizeQuality</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <optional>
          <attribute name="vector-effect">
            <choice>
              <value>none</value>
              <value>non-scaling-stroke</value>
              <value>inherit</value>
            </choice>
          </attribute>
        </optional>
        <group>
          <optional>
            <attribute name="direction">
              <choice>
                <value>ltr</value>
                <value>rtl</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="unicode-bidi">
              <choice>
                <value>normal</value>
                <value>embed</value>
                <value>bidi-override</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="solid-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="solid-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="display-align">
              <choice>
                <value>auto</value>
                <value>before</value>
                <value>center</value>
                <value>after</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="line-increment">
              <choice>
                <value>auto</value>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="stop-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stop-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="font-family">
              <choice>
                <value>serif</value>
                <value>sans-serif</value>
                <value>monospace</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-size">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-style">
              <choice>
                <value>normal</value>
                <value>italic</value>
                <value>oblique</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-variant">
              <choice>
                <value>normal</value>
                <value>small-caps</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-weight">
              <choice>
                <value>normal</value>
                <value>bold</value>
                <value>bolder</value>
                <value>lighter</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-anchor">
              <choice>
                <value>start</value>
                <value>middle</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-align">
              <choice>
                <value>start</value>
                <value>center</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
      </interleave>
      <optional>
        <choice>
          <attribute name="id">
            <data type="NCName"/>
          </attribute>
          <attribute name="xml:id">
            <data type="NCName"/>
          </attribute>
        </choice>
      </optional>
      <optional>
        <attribute name="xml:base">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:lang">
          <optional>
            <data type="language"/>
          </optional>
        </attribute>
      </optional>
      <optional>
        <attribute name="class">
          <data type="NMTOKENS"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="role">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rel">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rev">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="typeof">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="content">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="datatype">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="resource">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="about">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="property">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:space">
          <choice>
            <value>default</value>
            <value>preserve</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="x">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <!-- For SVG-1.2-RFC -->
        <attribute name="y">
          <data type="string"/>
        </attribute>
      </optional>
      <oneOrMore>
        <choice>
          <ref name="tbreak"/>
          <ref name="desc"/>
          <ref name="svgTitle"/>
          <ref name="tspan_2"/>
          <text/>
          <ref name="a_2"/>
        </choice>
      </oneOrMore>
    </element>
  </define>
  <define name="tspan_2">
    <element name="tspan">
      <interleave>
        <group>
          <optional>
            <attribute name="fill-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="fill">
              <choice>
                <value>none</value>
                <ref name="rfc-color"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="fill-rule">
              <choice>
                <value>inherit</value>
                <value>nonzero</value>
                <value>evenodd</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dasharray">
              <choice>
                <value>inherit</value>
                <value>none</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dashoffset">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linecap">
              <choice>
                <value>butt</value>
                <value>round</value>
                <value>square</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linejoin">
              <choice>
                <value>miter</value>
                <value>round</value>
                <value>bevel</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-miterlimit">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-width">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="color-rendering">
              <choice>
                <value>auto</value>
                <value>optimizeSpeed</value>
                <value>optimizeQuality</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <optional>
          <attribute name="vector-effect">
            <choice>
              <value>none</value>
              <value>non-scaling-stroke</value>
              <value>inherit</value>
            </choice>
          </attribute>
        </optional>
        <group>
          <optional>
            <attribute name="direction">
              <choice>
                <value>ltr</value>
                <value>rtl</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="unicode-bidi">
              <choice>
                <value>normal</value>
                <value>embed</value>
                <value>bidi-override</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="solid-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="solid-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="display-align">
              <choice>
                <value>auto</value>
                <value>before</value>
                <value>center</value>
                <value>after</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="line-increment">
              <choice>
                <value>auto</value>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="stop-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stop-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="font-family">
              <choice>
                <value>serif</value>
                <value>sans-serif</value>
                <value>monospace</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-size">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-style">
              <choice>
                <value>normal</value>
                <value>italic</value>
                <value>oblique</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-variant">
              <choice>
                <value>normal</value>
                <value>small-caps</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-weight">
              <choice>
                <value>normal</value>
                <value>bold</value>
                <value>bolder</value>
                <value>lighter</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-anchor">
              <choice>
                <value>start</value>
                <value>middle</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-align">
              <choice>
                <value>start</value>
                <value>center</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
      </interleave>
      <optional>
        <choice>
          <attribute name="id">
            <data type="NCName"/>
          </attribute>
          <attribute name="xml:id">
            <data type="NCName"/>
          </attribute>
        </choice>
      </optional>
      <optional>
        <attribute name="xml:base">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:lang">
          <optional>
            <data type="language"/>
          </optional>
        </attribute>
      </optional>
      <optional>
        <attribute name="class">
          <data type="NMTOKENS"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="role">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rel">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rev">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="typeof">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="content">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="datatype">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="resource">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="about">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="property">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:space">
          <choice>
            <value>default</value>
            <value>preserve</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="x">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <!-- For SVG-1.2-RFC -->
        <attribute name="y">
          <data type="string"/>
        </attribute>
      </optional>
      <oneOrMore>
        <choice>
          <ref name="desc"/>
          <ref name="svgTitle"/>
          <ref name="tspan_2"/>
          <text/>
          <ref name="a_2"/>
        </choice>
      </oneOrMore>
    </element>
  </define>
  <define name="a_2">
    <element name="a">
      <optional>
        <choice>
          <attribute name="id">
            <data type="NCName"/>
          </attribute>
          <attribute name="xml:id">
            <data type="NCName"/>
          </attribute>
        </choice>
      </optional>
      <optional>
        <attribute name="xml:base">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:lang">
          <optional>
            <data type="language"/>
          </optional>
        </attribute>
      </optional>
      <optional>
        <attribute name="class">
          <data type="NMTOKENS"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="role">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rel">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rev">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="typeof">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="content">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="datatype">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="resource">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="about">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="property">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:space">
          <choice>
            <value>default</value>
            <value>preserve</value>
          </choice>
        </attribute>
      </optional>
      <interleave>
        <group>
          <optional>
            <attribute name="fill-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="fill">
              <choice>
                <value>none</value>
                <ref name="rfc-color"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="fill-rule">
              <choice>
                <value>inherit</value>
                <value>nonzero</value>
                <value>evenodd</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dasharray">
              <choice>
                <value>inherit</value>
                <value>none</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-dashoffset">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linecap">
              <choice>
                <value>butt</value>
                <value>round</value>
                <value>square</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-linejoin">
              <choice>
                <value>miter</value>
                <value>round</value>
                <value>bevel</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-miterlimit">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="stroke-width">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="color-rendering">
              <choice>
                <value>auto</value>
                <value>optimizeSpeed</value>
                <value>optimizeQuality</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <optional>
          <attribute name="vector-effect">
            <choice>
              <value>none</value>
              <value>non-scaling-stroke</value>
              <value>inherit</value>
            </choice>
          </attribute>
        </optional>
        <group>
          <optional>
            <attribute name="direction">
              <choice>
                <value>ltr</value>
                <value>rtl</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="unicode-bidi">
              <choice>
                <value>normal</value>
                <value>embed</value>
                <value>bidi-override</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="solid-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="solid-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="display-align">
              <choice>
                <value>auto</value>
                <value>before</value>
                <value>center</value>
                <value>after</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="line-increment">
              <choice>
                <value>auto</value>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="stop-color">
              <ref name="rfc-color"/>
            </attribute>
          </optional>
          <optional>
            <attribute name="stop-opacity">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
        </group>
        <group>
          <optional>
            <attribute name="font-family">
              <choice>
                <value>serif</value>
                <value>sans-serif</value>
                <value>monospace</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-size">
              <choice>
                <value>inherit</value>
                <data type="string"/>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-style">
              <choice>
                <value>normal</value>
                <value>italic</value>
                <value>oblique</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-variant">
              <choice>
                <value>normal</value>
                <value>small-caps</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="font-weight">
              <choice>
                <value>normal</value>
                <value>bold</value>
                <value>bolder</value>
                <value>lighter</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-anchor">
              <choice>
                <value>start</value>
                <value>middle</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
          <optional>
            <attribute name="text-align">
              <choice>
                <value>start</value>
                <value>center</value>
                <value>end</value>
                <value>inherit</value>
              </choice>
            </attribute>
          </optional>
        </group>
      </interleave>
      <optional>
        <attribute name="transform">
          <choice>
            <data type="string"/>
            <value>none</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:show">
          <choice>
            <value>new</value>
            <value>replace</value>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:actuate">
          <value>onRequest</value>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:type">
          <value>simple</value>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:role">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:arcrole">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xlink:title"/>
      </optional>
      <optional>
        <attribute name="xlink:href">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="target">
          <choice>
            <value>_replace</value>
            <value>_self</value>
            <value>_parent</value>
            <value>_top</value>
            <value>_blank</value>
            <data type="Name"/>
          </choice>
        </attribute>
      </optional>
      <oneOrMore>
        <choice>
          <ref name="desc"/>
          <ref name="svgTitle"/>
          <ref name="tspan_2"/>
          <text/>
        </choice>
      </oneOrMore>
    </element>
  </define>
  <define name="tbreak">
    <element name="tbreak">
      <optional>
        <choice>
          <attribute name="id">
            <data type="NCName"/>
          </attribute>
          <attribute name="xml:id">
            <data type="NCName"/>
          </attribute>
        </choice>
      </optional>
      <optional>
        <attribute name="xml:base">
          <choice>
            <data type="anyURI"/>
            <data type="string"/>
          </choice>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:lang">
          <optional>
            <data type="language"/>
          </optional>
        </attribute>
      </optional>
      <optional>
        <attribute name="class">
          <data type="NMTOKENS"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="role">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rel">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="rev">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="typeof">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="content">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="datatype">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="resource">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="about">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="property">
          <data type="string"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="xml:space">
          <choice>
            <value>default</value>
            <value>preserve</value>
          </choice>
        </attribute>
      </optional>
    </element>
  </define>
</grammar>
<!-- - - -  End of SVG 1.2 RFC rnc schema -->
