From: <ko...@us...> - 2007-11-28 16:12:42
|
Revision: 7579 http://docbook.svn.sourceforge.net/docbook/?rev=7579&view=rev Author: kosek Date: 2007-11-28 08:12:40 -0800 (Wed, 28 Nov 2007) Log Message: ----------- Added support for new attribute types Modified Paths: -------------- trunk/docbook/relaxng/tools/xml2dtd.xsl Modified: trunk/docbook/relaxng/tools/xml2dtd.xsl =================================================================== --- trunk/docbook/relaxng/tools/xml2dtd.xsl 2007-11-28 16:12:01 UTC (rev 7578) +++ trunk/docbook/relaxng/tools/xml2dtd.xsl 2007-11-28 16:12:40 UTC (rev 7579) @@ -136,6 +136,8 @@ <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> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |