]> 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 3fbc83b4515779210127bb0179b07ad20aca34ac..d1faf246e920198a5c470110b7edf6168b39d67e 100644 (file)
    <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>