]> matita.cs.unibo.it Git - helm.git/commitdiff
People in the "by site" list are now sorted alphabetically.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 19 Mar 2002 17:53:54 +0000 (17:53 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 19 Mar 2002 17:53:54 +0000 (17:53 +0000)
helm/mowgli/home/xsl/people-list.xsl

index fb1cbcc515552a9a2a3be32f66348b3116ab00b8..ab23781becee848c66093d9ba6ca2c1426256b61 100644 (file)
@@ -20,8 +20,7 @@
     <td valign="top">
 
     <h3><a name="#site">By Site</a></h3>
-    <xsl:apply-templates select="from">
-    </xsl:apply-templates>
+    <xsl:apply-templates select="from"/>
 
     </td>
     <td valign="top">
@@ -68,7 +67,9 @@
  <xsl:apply-templates select="$site/name | $site/subsite[1]/name">
   <xsl:with-param name="file" select="@site"/>
  </xsl:apply-templates>
- <xsl:apply-templates select="person"/>
+ <xsl:apply-templates select="person">
+  <xsl:sort select="@file"/>
+ </xsl:apply-templates>
 </xsl:template>
 
 </xsl:stylesheet>