aboutsummaryrefslogtreecommitdiff
path: root/nl_NL.ISO8859-1/htdocs
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-01-09 16:13:30 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-01-09 16:13:30 +0000
commita4266c0837e2b010c47108b153d5e4bcc375a40c (patch)
tree7631542aec2d718bd99129d4298451299b7396ff /nl_NL.ISO8859-1/htdocs
parentb9d31cf178754b006fdbf61eac1b375ecbf11a92 (diff)
downloaddoc-a4266c0837e2b010c47108b153d5e4bcc375a40c.tar.gz
doc-a4266c0837e2b010c47108b153d5e4bcc375a40c.zip
Fix syntax errors in translated documents. These caused a build breakage in
newer libxslt which check the stylesheet syntax more strictly. |It is an error for the value of either the use attribute or the match |attribute to contain a VariableReference. | (XSL Transformations (XSLT) Version 1.0, Section 12.2)
Notes
Notes: svn path=/head/; revision=40560
Diffstat (limited to 'nl_NL.ISO8859-1/htdocs')
-rw-r--r--nl_NL.ISO8859-1/htdocs/community.xsl6
1 files changed, 4 insertions, 2 deletions
diff --git a/nl_NL.ISO8859-1/htdocs/community.xsl b/nl_NL.ISO8859-1/htdocs/community.xsl
index 4ab6861ff1..e1c1801ced 100644
--- a/nl_NL.ISO8859-1/htdocs/community.xsl
+++ b/nl_NL.ISO8859-1/htdocs/community.xsl
@@ -11,12 +11,14 @@
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns="http://www.w3.org/1999/xhtml">
+ xmlns:date="http://exslt.org/dates-and-times"
+ xmlns="http://www.w3.org/1999/xhtml"
+ extension-element-prefixes="date">
<xsl:import href="http://www.FreeBSD.org/XML/www/lang/share/xml/libcommon.xsl"/>
<xsl:import href="http://www.FreeBSD.org/XML/www/share/xml/xhtml.xsl"/>
- <xsl:key name="last-year-event-by-country" match="event[number(enddate/year) = (number($curdate.year) - 1)]"
+ <xsl:key name="last-year-event-by-country" match="event[number(enddate/year) = (number(date:year()) - 1)]"
use="location/country" />
<xsl:key name="event-by-year" match="event" use="enddate/year" />