svn commit: r39384 - projects/sgml2xml/share/sgml
Gabor Kovesdan
gabor at FreeBSD.org
Wed Aug 15 22:18:05 UTC 2012
Author: gabor
Date: Wed Aug 15 22:18:04 2012
New Revision: 39384
URL: http://svn.freebsd.org/changeset/doc/39384
Log:
- Fix the link for the event charts
Approved by: doceng (implicit)
Modified:
projects/sgml2xml/share/sgml/templates.events.xsl
projects/sgml2xml/share/sgml/templates.pastevents.xsl
Modified: projects/sgml2xml/share/sgml/templates.events.xsl
==============================================================================
--- projects/sgml2xml/share/sgml/templates.events.xsl Wed Aug 15 21:50:43 2012 (r39383)
+++ projects/sgml2xml/share/sgml/templates.events.xsl Wed Aug 15 22:18:04 2012 (r39384)
@@ -69,7 +69,7 @@
<xsl:template name="process.content">
<xsl:variable name="chart-countries">
- <xsl:for-each select="event[
+ <xsl:for-each select="//event[
generate-id() =
generate-id(key('event-by-country', location/country)[1])]">
<xsl:sort select="format-number(count(key('event-by-country', location/country)), '000')" order="descending"/>
@@ -78,7 +78,7 @@
</xsl:variable>
<xsl:variable name="chart-country-counts">
- <xsl:for-each select="event[
+ <xsl:for-each select="//event[
generate-id() =
generate-id(key('event-by-country', location/country)[1])]">
<xsl:sort select="format-number(count(key('event-by-country', location/country)), '000')" order="descending"/>
Modified: projects/sgml2xml/share/sgml/templates.pastevents.xsl
==============================================================================
--- projects/sgml2xml/share/sgml/templates.pastevents.xsl Wed Aug 15 21:50:43 2012 (r39383)
+++ projects/sgml2xml/share/sgml/templates.pastevents.xsl Wed Aug 15 22:18:04 2012 (r39384)
@@ -72,7 +72,7 @@
<xsl:template name="process.content">
<xsl:variable name="chart-countries">
- <xsl:for-each select="event[
+ <xsl:for-each select="//event[
generate-id() =
generate-id(key('event-by-country', location/country)[1])]">
<xsl:sort select="format-number(count(key('event-by-country', location/country)), '000')" order="descending"/>
@@ -81,7 +81,7 @@
</xsl:variable>
<xsl:variable name="chart-country-counts">
- <xsl:for-each select="event[
+ <xsl:for-each select="//event[
generate-id() =
generate-id(key('event-by-country', location/country)[1])]">
<xsl:sort select="format-number(count(key('event-by-country', location/country)), '000')" order="descending"/>
More information about the svn-doc-projects
mailing list