]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/www/lambdadelta/xslt/ld_web_root.xsl
- we begin the new site based on ld_web
[helm.git] / helm / www / lambdadelta / xslt / ld_web_root.xsl
index e82b2784b521b049f7a21c27f1c8cba812d40f74..07bd9bf3f8f05e0ca0435e29c9b6601f9eaf8320 100644 (file)
@@ -7,17 +7,68 @@
 >
 
 <xsl:template match="ld:section">
-   <div class="head2">
+   <a name="{@name}"/>
+   <div class="head2sn">
       <xsl:apply-templates/>
    </div>
 </xsl:template>
 
+<xsl:template match="ld:section3">
+   <a name="{@name}"/>
+   <div class="head2dx">
+      <xsl:apply-templates/>
+      <xsl:call-template name="sp"/>
+      <xsl:call-template name="butterfly">
+         <xsl:with-param name="name" select="3"/>
+      </xsl:call-template>
+   </div>
+</xsl:template>
+
+<xsl:template match="ld:section4">
+    <a name="{@name}"/>
+    <div class="head2dx">
+      <xsl:apply-templates/>
+      <xsl:call-template name="sp"/>
+      <xsl:call-template name="butterfly">
+         <xsl:with-param name="name" select="4"/>
+      </xsl:call-template>
+   </div>
+</xsl:template>
+
+<xsl:template match="ld:section5">
+   <a name="{@name}"/>
+   <div class="head2dx">
+      <xsl:apply-templates/>
+      <xsl:call-template name="sp"/>
+      <xsl:call-template name="butterfly">
+         <xsl:with-param name="name" select="5"/>
+      </xsl:call-template>
+   </div>
+</xsl:template>
+
+<xsl:template match="ld:section9">
+   <a name="{@name}"/>
+   <div class="head2dx">
+      <xsl:apply-templates/>
+      <xsl:call-template name="sp"/>
+      <xsl:call-template name="butterfly">
+         <xsl:with-param name="name" select="9"/>
+      </xsl:call-template>
+   </div>
+</xsl:template>
+
 <xsl:template match="ld:body">
    <div class="text">
       <xsl:apply-templates/>
    </div>
 </xsl:template>
 
+<xsl:template match="ld:link">
+   <a href="{@to}">
+      <xsl:apply-templates/>
+   </a>
+</xsl:template>
+
 <xsl:template match="ld:rlink">
    <a href="{$baseurl}{@to}">
       <xsl:apply-templates/>
    </div>
 </xsl:template>
 
+<xsl:template match="ld:sitemap">
+   <div class="spacer"><br/></div>   
+   <div class="text">
+      <xsl:call-template name="xhtbl"/>
+   </div>
+</xsl:template>
+
 <xsl:template match="ld:footer">
    <xsl:call-template name="rule"/>
    <div class="spacer"><br/></div>