Wrap each release headline in an <a> element with the id set
to the release value and page.xsl will take care of the rest.
Reported-by: Kashyap Chamarthy <kchamart@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
<!-- Release -->
<xsl:template match="release">
<h3>
- <strong>
- <xsl:value-of select="@version"/>
- <xsl:text> (</xsl:text>
- <xsl:value-of select="@date"/>
- <xsl:text>)</xsl:text>
- </strong>
+ <a>
+ <xsl:attribute name="id">
+ <xsl:value-of select="@version"/>
+ </xsl:attribute>
+ <strong>
+ <xsl:value-of select="@version"/>
+ <xsl:text> (</xsl:text>
+ <xsl:value-of select="@date"/>
+ <xsl:text>)</xsl:text>
+ </strong>
+ </a>
</h3>
<ul>
<xsl:apply-templates select="section"/>