r2725 - jhalfs/branches/experimental/BLFS/libs

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Sat May 27 08:45:53 PDT 2006


Author: manuel
Date: 2006-05-27 09:45:53 -0600 (Sat, 27 May 2006)
New Revision: 2725

Modified:
   jhalfs/branches/experimental/BLFS/libs/dependencies.xsl
Log:
Fixed how dependencies are srted in *.dep files.

Modified: jhalfs/branches/experimental/BLFS/libs/dependencies.xsl
===================================================================
--- jhalfs/branches/experimental/BLFS/libs/dependencies.xsl	2006-05-27 15:45:06 UTC (rev 2724)
+++ jhalfs/branches/experimental/BLFS/libs/dependencies.xsl	2006-05-27 15:45:53 UTC (rev 2725)
@@ -19,14 +19,14 @@
 
   <xsl:template match="para[@role='required']">
     <xsl:apply-templates select="xref">
-      <xsl:sort select="position()" order="descending"/>
+      <xsl:sort select="position()" data-type="number" order="descending"/>
     </xsl:apply-templates>
   </xsl:template>
 
   <xsl:template match="para[@role='recommended']">
     <xsl:if test="$dependencies != '1'">
       <xsl:apply-templates select="xref">
-        <xsl:sort select="position()" order="descending"/>
+        <xsl:sort select="position()" data-type="number" order="descending"/>
       </xsl:apply-templates>
     </xsl:if>
   </xsl:template>
@@ -34,7 +34,7 @@
   <xsl:template match="para[@role='optional']">
     <xsl:if test="$dependencies = '3'">
       <xsl:apply-templates select="xref">
-        <xsl:sort select="position()" order="descending"/>
+        <xsl:sort select="position()" data-type="number" order="descending"/>
       </xsl:apply-templates>
     </xsl:if>
   </xsl:template>




More information about the alfs-log mailing list