]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/mowgli/home/xsl/consortium.xsl
This commit was manufactured by cvs2svn to create branch 'init'.
[helm.git] / helm / mowgli / home / xsl / consortium.xsl
diff --git a/helm/mowgli/home/xsl/consortium.xsl b/helm/mowgli/home/xsl/consortium.xsl
deleted file mode 100644 (file)
index 17420ee..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0"?>
-
-<xsl:stylesheet version="1.0"
-                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-<xsl:import href="common.xsl"/>
-
-<xsl:output method="xml"/>
-
-<xsl:template match="/">
- <html>
-  <head>
-   <title>Consortium</title>
-  </head>
-  <body>
-    <xsl:apply-templates/>
-  </body>
- </html>
-</xsl:template>
-
-<xsl:template match="consortium">
- <h1>The Consortium</h1>
- <p>
-  <xsl:text>The Consortium is made of </xsl:text>
-  <xsl:value-of select="count(site)"/>
-  <xsl:text> sites:</xsl:text>
- </p>
- <ul>
-  <xsl:for-each select="site">
-   <li>
-    <a href="sites/{@file}.html">
-     <xsl:variable name="site" select="document(concat('../xml/sites/',@file,'.xml'))/site"/>
-    <xsl:choose>
-     <xsl:when test="$site/name">
-      <xsl:value-of select="$site/name"/>
-     </xsl:when>
-     <xsl:otherwise>
-      <xsl:value-of select="$site/subsite/name"/>
-     </xsl:otherwise>
-    </xsl:choose>
-    </a>
-   </li>
-  </xsl:for-each>
- </ul>
- <xsl:copy-of select="description/*"/>
-</xsl:template>
-
-</xsl:stylesheet>