]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/www/lambdadelta/xslt/ld_web_root.xsl
web site update
[helm.git] / helm / www / lambdadelta / xslt / ld_web_root.xsl
index 4be8878ff51738a7ea57b3a32d86f9e2e7bda4cd..d1faf246e920198a5c470110b7edf6168b39d67e 100644 (file)
    </div>
 </xsl:template>
 
+<xsl:template match="ld:section1">
+   <div class="head2dx" id="{@name}">
+      <xsl:apply-templates/>
+      <xsl:call-template name="sp"/>
+      <xsl:call-template name="butterfly">
+         <xsl:with-param name="name" select="1"/>
+      </xsl:call-template>
+   </div>
+</xsl:template>
+
 <xsl:template match="ld:section3">
    <div class="head2dx" id="{@name}">
       <xsl:apply-templates/>
 </xsl:template>
 
 <xsl:template match="ld:item">
-   <li><xsl:apply-templates/></li>
+   <li class="{@class}"><xsl:apply-templates/></li>
+</xsl:template>
+
+<xsl:template match="ld:line">
+  <div class="{@class}">
+    <xsl:choose>
+      <xsl:when test="@of"><xsl:value-of select="@of"/></xsl:when>
+      <xsl:otherwise><xsl:apply-templates/></xsl:otherwise>
+    </xsl:choose>
+  </div>
 </xsl:template>
 
 <xsl:template match="ld:style">
-   <span class="{@class}">
-      <xsl:choose>
-         <xsl:when test="@of"><xsl:value-of select="@of"/></xsl:when>
-         <xsl:otherwise><xsl:apply-templates/></xsl:otherwise>
-      </xsl:choose>
-   </span>
+  <span class="{@class}">
+    <xsl:choose>
+      <xsl:when test="@title">
+        <xsl:attribute name="title"><xsl:value-of select="@title"/></xsl:attribute>
+      </xsl:when>
+    </xsl:choose>
+    <xsl:choose>
+      <xsl:when test="@of"><xsl:value-of select="@of"/></xsl:when>
+      <xsl:otherwise><xsl:apply-templates/></xsl:otherwise>
+    </xsl:choose>
+  </span>
 </xsl:template>
 
 <xsl:template match="ld:notice">
    </xsl:choose>
 </xsl:template>
 
+<xsl:template match="ld:ucs-bronze">
+   <img
+      alt="[Official bronze sponsor of Unicode Consortium]"
+      title="Official bronze sponsor of Unicode Consortium"
+      src="{$baseurl}images/bronze-{@char}.png"
+   />
+</xsl:template>
+
 <xsl:template match="ld:footer">
    <xsl:call-template name="rule"/>
    <div class="spacer"><br/></div>   
             href="{$baseurl}css/xhtbl.css"
       />
       <link rel="shortcut icon" 
-            href="{$baseurl}images/crux_16.ico"
+            href="{$baseurl}images/crux_32.ico"
       />
    </head><body lang="en-US">
       <div class="spacer"><xsl:call-template name="img"/></div>