]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/mowgli/home/xsl/site.xsl
This commit was manufactured by cvs2svn to create branch 'init'.
[helm.git] / helm / mowgli / home / xsl / site.xsl
diff --git a/helm/mowgli/home/xsl/site.xsl b/helm/mowgli/home/xsl/site.xsl
deleted file mode 100644 (file)
index eb1f0ab..0000000
+++ /dev/null
@@ -1,102 +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><xsl:value-of select="site/name"/></title>
-  </head>
-  <body>
-    <xsl:apply-templates/>
-  </body>
- </html>
-</xsl:template>
-
-<xsl:template match="site|subsite">
- <xsl:choose>
-  <xsl:when test="subsite">
-   <p>This is an aggregate site, whose members are:</p>
-   <ul>
-    <xsl:for-each select="subsite">
-     <li>
-      <a href="#{generate-id()}">
-       <xsl:value-of select="name"/>
-      </a>
-     </li>
-    </xsl:for-each>
-   </ul>
-   <xsl:for-each select="subsite">
-    <hr />
-    <a name="{generate-id()}"/>
-    <xsl:apply-templates select="."/>
-   </xsl:for-each>
-  </xsl:when>
-  <xsl:otherwise>
-   <h1><xsl:value-of select="name"/></h1>
-   <h2><xsl:value-of select="country"/></h2>
-   <p><xsl:value-of select="address"/></p>
-   <p><a href="{url}">Visit the institution home page.</a></p>
-   <p>
-    <xsl:text>Site responsible: </xsl:text>
-    <a href="../people/{responsible/@file}.html">
-     <xsl:call-template name="person-name">
-      <xsl:with-param name="file" select="responsible/@file"/>
-     </xsl:call-template>
-    </a>
-    <xsl:text>.</xsl:text>
-   </p>
-   <xsl:if test="./member">
-    <p>Site members:</p>
-    <ul>
-     <xsl:for-each select="./member">
-      <li>
-       <a href="../people/{@file}.html">
-        <xsl:call-template name="person-name">
-         <xsl:with-param name="file" select="@file"/>
-        </xsl:call-template>
-       </a>
-      </li>
-     </xsl:for-each>
-    </ul>
-   </xsl:if>
-   <xsl:copy-of select="description/*"/>
-   <xsl:if test="project">
-    <h1>Projects developed by this site related to MOWGLI:</h1>
-   </xsl:if>
-   <xsl:apply-templates select="project"/>
-  </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template match="project">
- <h2>
-  <xsl:value-of select="name"/>
-  <xsl:if test="acronym">
-   <xsl:text> (</xsl:text>
-   <xsl:value-of select="acronym"/>
-   <xsl:text>)</xsl:text>
-  </xsl:if>
- </h2>
- <p><a href="{url}">Visit the project home page.</a></p>
- <p>Members of the project also involved in MOWGLI:</p>
- <ul>
-  <xsl:for-each select="member">
-   <li>
-    <a href="../people/{@file}.html">
-     <xsl:call-template name="person-name">
-      <xsl:with-param name="file" select="@file"/>
-     </xsl:call-template>
-    </a>
-   </li>
-  </xsl:for-each>
- </ul>
- <xsl:copy-of select="description/*"/>
-</xsl:template>
-
-</xsl:stylesheet>