]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/mowgli/home/xsl/minutes.xsl
* New slides from Saarbrucken
[helm.git] / helm / mowgli / home / xsl / minutes.xsl
index ff6f76d200b47063bb7bef9d2d3783407dca30d9..26a01e014df0e5de58c31412f538a75f19eae83f 100644 (file)
   <xsl:text>): </xsl:text>
   <xsl:if test="@media = 'slides'">
    <xsl:choose>
-    <xsl:when test="@slides">
-     <xsl:text>[</xsl:text>
-     <a href="../../misc/{@slides}">
-      <xsl:text>Get the slides</xsl:text>
-     </a>
-     <xsl:text>]</xsl:text>
+    <xsl:when test="slides">
+     <xsl:for-each select="slides">
+      <xsl:text>[</xsl:text>
+      <a href="../../misc/{@file}">
+       <xsl:text>Get the slides</xsl:text>
+       <xsl:if test="text()">
+        <xsl:text> </xsl:text>
+        <xsl:value-of select="text()"/>
+       </xsl:if>
+      </a>
+      <xsl:text>]</xsl:text>
+     </xsl:for-each>
     </xsl:when>
     <xsl:otherwise>
      <xsl:text>[slides unavailable]</xsl:text>
   </xsl:if>
  </dt>
  <dd>
-  <xsl:copy-of select="*|text()"/>
+  <xsl:copy-of select="description/*|description/text()"/>
  </dd>
 </xsl:template>