]> granicus.if.org Git - docbook-dsssl/commitdiff
Version attribute is now part of schema
authorNorman Walsh <ndw@nwalsh.com>
Wed, 7 Jan 2004 14:21:53 +0000 (14:21 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Wed, 7 Jan 2004 14:21:53 +0000 (14:21 +0000)
docbook/relaxng/tools/augment.xsl

index 5e86c0179a4ba6567b120bc7fc5c0f924342df65..510a581c4b8332a9b088a7a32004f1c1f6430f31 100644 (file)
       <xsl:comment> See http://docbook.org/docbook-ng/ </xsl:comment>
       <xsl:text>&#10;</xsl:text>
 
-      <rng:define name="version.attribute">
-       <rng:attribute name="version"/>
-      </rng:define>
-
       <xsl:apply-templates/>
     </xsl:copy>
   </xsl:template>
       </xsl:variable>
 
       <xsl:if test="$isStart &gt; 0">
-       <rng:optional>
-         <rng:ref name="version.attribute"/>
-       </rng:optional>
        <s:rule context="/db:{$name}">
          <s:assert test="@version">
            <xsl:text>The root element must have a version attribute.</xsl:text>