]> 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 07bd9bf3f8f05e0ca0435e29c9b6601f9eaf8320..20e35cf632339b0e31791a423530bcd56cec9644 100644 (file)
@@ -7,15 +7,13 @@
 >
 
 <xsl:template match="ld:section">
-   <a name="{@name}"/>
-   <div class="head2sn">
+   <div class="head2sn" id="{@name}">
       <xsl:apply-templates/>
    </div>
 </xsl:template>
 
 <xsl:template match="ld:section3">
-   <a name="{@name}"/>
-   <div class="head2dx">
+   <div class="head2dx" id="{@name}">
       <xsl:apply-templates/>
       <xsl:call-template name="sp"/>
       <xsl:call-template name="butterfly">
@@ -25,8 +23,7 @@
 </xsl:template>
 
 <xsl:template match="ld:section4">
-    <a name="{@name}"/>
-    <div class="head2dx">
+    <div class="head2dx" id="{@name}">
       <xsl:apply-templates/>
       <xsl:call-template name="sp"/>
       <xsl:call-template name="butterfly">
@@ -36,8 +33,7 @@
 </xsl:template>
 
 <xsl:template match="ld:section5">
-   <a name="{@name}"/>
-   <div class="head2dx">
+   <div class="head2dx" id="{@name}">
       <xsl:apply-templates/>
       <xsl:call-template name="sp"/>
       <xsl:call-template name="butterfly">
@@ -47,8 +43,7 @@
 </xsl:template>
 
 <xsl:template match="ld:section9">
-   <a name="{@name}"/>
-   <div class="head2dx">
+   <div class="head2dx" id="{@name}">
       <xsl:apply-templates/>
       <xsl:call-template name="sp"/>
       <xsl:call-template name="butterfly">