summaryrefslogtreecommitdiff
path: root/xsl
diff options
context:
space:
mode:
Diffstat (limited to 'xsl')
-rw-r--r--xsl/navi.xsl8
1 files changed, 1 insertions, 7 deletions
diff --git a/xsl/navi.xsl b/xsl/navi.xsl
index 1130def..37c73b7 100644
--- a/xsl/navi.xsl
+++ b/xsl/navi.xsl
@@ -9,20 +9,14 @@
<xsl:for-each select="document('../main.xml')/s:site/s:page">
<xsl:variable name="url" select="concat(substring-before(@filename, '.xml'), $suffix)"/>
- <xsl:variable name="i">
- <xsl:number />
- </xsl:variable>
<xsl:if test="not(@visibility='hidden')">
<li>
- <a href="{concat($url, @anchor)}">
+ <a href="{concat($url, @anchor)}" accesskey="{position()}">
<xsl:if test="$url = $file">
<xsl:attribute name="class">
<xsl:value-of select="'active'" />
</xsl:attribute>
</xsl:if>
- <xsl:attribute name="accesskey">
- <xsl:value-of select="$i" />
- </xsl:attribute>
<xsl:value-of select="@title" />
</a>
</li>