forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r292896 - /forrest/trunk/tools/logos/logopage.xsl
Date Sat, 01 Oct 2005 01:54:30 GMT
Author: crossley
Date: Fri Sep 30 18:54:22 2005
New Revision: 292896

URL: http://svn.apache.org/viewcvs?rev=292896&view=rev
Log:
Better anchor for index page links.

Modified:
    forrest/trunk/tools/logos/logopage.xsl

Modified: forrest/trunk/tools/logos/logopage.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/tools/logos/logopage.xsl?rev=292896&r1=292895&r2=292896&view=diff
==============================================================================
--- forrest/trunk/tools/logos/logopage.xsl (original)
+++ forrest/trunk/tools/logos/logopage.xsl Fri Sep 30 18:54:22 2005
@@ -37,9 +37,11 @@
           <ul> 
            <xsl:for-each select="project">
            
-              <li><a href="#{@name}-{@id}">
-                  <xsl:value-of select="@name" /> - <xsl:value-of select="@id" />
-                  </a></li>
+             <li>
+               <a href="#{@id}">
+                 <xsl:value-of select="@name" /> - <xsl:value-of select="@id" />
+               </a>
+             </li>
    
            </xsl:for-each>
           </ul>
@@ -90,7 +92,7 @@
 
   <xsl:template match="project">
    
-   <h2 id="{@name}-{@id}"><xsl:value-of select="@name" /></h2>
+   <h2 id="{@id}"><xsl:value-of select="@name" /></h2>
    <img><xsl:attribute name="src">apache-<xsl:value-of select="@id" />.png</xsl:attribute></img>
    <br/>
    <a><xsl:attribute name="href">apache-<xsl:value-of select="@id" />.svg</xsl:attribute>apache-<xsl:value-of
select="@id" />.svg</a>



Mime
View raw message