]> granicus.if.org Git - docbook-dsssl/commitdiff
Added support for new attribute types
authorJirka Kosek <jirka@kosek.cz>
Wed, 28 Nov 2007 16:12:40 +0000 (16:12 +0000)
committerJirka Kosek <jirka@kosek.cz>
Wed, 28 Nov 2007 16:12:40 +0000 (16:12 +0000)
docbook/relaxng/tools/xml2dtd.xsl

index 943d002b050f89b117b645b654e374a333287514..9b034368c76f2b1f5cae916b478d1cf45c4bd953 100644 (file)
            <xsl:when test="@type = 'positiveInteger'">NMTOKEN</xsl:when>
            <xsl:when test="@type = 'decimal'">CDATA</xsl:when>
            <xsl:when test="@type = 'token'">NMTOKEN</xsl:when>
+           <xsl:when test="@type = 'string'">CDATA</xsl:when>
+           <xsl:when test="@type = 'float'">NMTOKEN</xsl:when>
            <xsl:otherwise>
              <xsl:value-of select="@type"/>
            </xsl:otherwise>