Fixed how dependencies are srted in *.dep files.

This commit is contained in:
Manuel Canales Esparcia 2006-05-27 15:45:53 +00:00
parent 6a49a382e6
commit 7e43a37293

View file

@ -19,14 +19,14 @@
<xsl:template match="para[@role='required']"> <xsl:template match="para[@role='required']">
<xsl:apply-templates select="xref"> <xsl:apply-templates select="xref">
<xsl:sort select="position()" order="descending"/> <xsl:sort select="position()" data-type="number" order="descending"/>
</xsl:apply-templates> </xsl:apply-templates>
</xsl:template> </xsl:template>
<xsl:template match="para[@role='recommended']"> <xsl:template match="para[@role='recommended']">
<xsl:if test="$dependencies != '1'"> <xsl:if test="$dependencies != '1'">
<xsl:apply-templates select="xref"> <xsl:apply-templates select="xref">
<xsl:sort select="position()" order="descending"/> <xsl:sort select="position()" data-type="number" order="descending"/>
</xsl:apply-templates> </xsl:apply-templates>
</xsl:if> </xsl:if>
</xsl:template> </xsl:template>
@ -34,7 +34,7 @@
<xsl:template match="para[@role='optional']"> <xsl:template match="para[@role='optional']">
<xsl:if test="$dependencies = '3'"> <xsl:if test="$dependencies = '3'">
<xsl:apply-templates select="xref"> <xsl:apply-templates select="xref">
<xsl:sort select="position()" order="descending"/> <xsl:sort select="position()" data-type="number" order="descending"/>
</xsl:apply-templates> </xsl:apply-templates>
</xsl:if> </xsl:if>
</xsl:template> </xsl:template>