]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/www/lambdadelta/xslt/ld_web_root.xsl
first article on lambdadelta version 3
[helm.git] / helm / www / lambdadelta / xslt / ld_web_root.xsl
index d0024b8dc14ef6fce865aa3cbb9eac4528177888..f47a9a942db1bce60225da54343946d1ee47bb3a 100644 (file)
    </div>
 </xsl:template>
 
+<xsl:template match="ld:section8">
+   <div class="head2dx" id="{@name}">
+      <xsl:apply-templates/>
+      <xsl:call-template name="sp"/>
+      <xsl:call-template name="butterfly">
+         <xsl:with-param name="name" select="8"/>
+      </xsl:call-template>
+   </div>
+</xsl:template>
+
 <xsl:template match="ld:section9">
    <div class="head2dx" id="{@name}">
       <xsl:apply-templates/>
    </div>
 </xsl:template>
 
+<xsl:template match="ld:subsection">
+   <div class="head3sn" id="{@name}">
+      <xsl:apply-templates/>
+   </div>
+</xsl:template>
+
 <xsl:template match="ld:body">
    <div class="text">
       <xsl:apply-templates/>
@@ -76,7 +92,7 @@
 
 <xsl:template match="ld:news">
    <ul><li>
-      <span class="date"><xsl:value-of select="@date"/></span>
+      <span class="emph {@class}"><xsl:value-of select="@date"/></span>
       <xsl:apply-templates/>
    </li></ul>
 </xsl:template>
    <li><xsl:apply-templates/></li>
 </xsl:template>
 
-<xsl:template match="ld:date">
-   <span class="date"><xsl:value-of select="@date"/></span>
+<xsl:template match="ld:notice">
+   <span class="emph {@class}"><xsl:value-of select="@notice"/></span>
 </xsl:template>
 
-<xsl:template match="ld:basic-icon">
-   <img class="icon32"
-       alt="[basic lambdadelta logo]"
-       title="basic lambdadelta"
-       src="{$baseurl}images/basic_32.png"
-   />
+<xsl:template match="ld:version3-icon">
+   <xsl:call-template name="butterfly">
+      <xsl:with-param name="name" select="8"/>
+   </xsl:call-template>
+   <xsl:call-template name="sp"/>
+</xsl:template>
+
+<xsl:template match="ld:version2-icon">
+   <xsl:call-template name="butterfly">
+      <xsl:with-param name="name" select="4"/>
+   </xsl:call-template>
+   <xsl:call-template name="sp"/>
+</xsl:template>
+
+<xsl:template match="ld:version1-icon">
+   <xsl:call-template name="butterfly">
+      <xsl:with-param name="name" select="6"/>
+   </xsl:call-template>
    <xsl:call-template name="sp"/>
 </xsl:template>
 
    </body></html>
 </xsl:template>
 
+<xsl:template match="@*|node()">
+   <xsl:copy>
+      <xsl:apply-templates select="@*|node()"/>
+   </xsl:copy>
+</xsl:template>
+
 </xsl:stylesheet>