]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/www/lambdadelta/xslt/ld_web_root.xsl
named anchors replaced by ids as requested by xhtml
[helm.git] / helm / www / lambdadelta / xslt / ld_web_root.xsl
index e82b2784b521b049f7a21c27f1c8cba812d40f74..20e35cf632339b0e31791a423530bcd56cec9644 100644 (file)
@@ -7,17 +7,63 @@
 >
 
 <xsl:template match="ld:section">
-   <div class="head2">
+   <div class="head2sn" id="{@name}">
       <xsl:apply-templates/>
    </div>
 </xsl:template>
 
+<xsl:template match="ld:section3">
+   <div class="head2dx" id="{@name}">
+      <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">
+    <div class="head2dx" id="{@name}">
+      <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">
+   <div class="head2dx" id="{@name}">
+      <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">
+   <div class="head2dx" id="{@name}">
+      <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>