View | Details | Raw Unified | Return to bug 55938
Collapse All | Expand All

(-)includes.xsl (+2 lines)
Lines 10-15 Link Here
10
10
11
  <!-- Generate a unique anchor for this event -->
11
  <!-- Generate a unique anchor for this event -->
12
  <xsl:template name="generate-event-anchor">
12
  <xsl:template name="generate-event-anchor">
13
    <xsl:text>event</xsl:text>
13
    <xsl:value-of select="ancestor::year/name"/>
14
    <xsl:value-of select="ancestor::year/name"/>
14
    <xsl:value-of select="ancestor::month/name"/>
15
    <xsl:value-of select="ancestor::month/name"/>
15
    <xsl:value-of select="ancestor::day/name"/>:<xsl:value-of select="count(preceding-sibling::event)"/>
16
    <xsl:value-of select="ancestor::day/name"/>:<xsl:value-of select="count(preceding-sibling::event)"/>
Lines 17-22 Link Here
17
18
18
  <!-- Generate a unique anchor for this story -->
19
  <!-- Generate a unique anchor for this story -->
19
  <xsl:template name="generate-story-anchor">
20
  <xsl:template name="generate-story-anchor">
21
    <xsl:text>story</xsl:text>
20
    <xsl:value-of select="ancestor::year/name"/>
22
    <xsl:value-of select="ancestor::year/name"/>
21
    <xsl:value-of select="ancestor::month/name"/>:<xsl:text/>
23
    <xsl:value-of select="ancestor::month/name"/>:<xsl:text/>
22
    <xsl:value-of select="count(following-sibling::story)"/>
24
    <xsl:value-of select="count(following-sibling::story)"/>

Return to bug 55938