Fix a syntax error. This 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)
This commit is contained in:
Hiroki Sato 2013-01-09 14:52:58 +00:00
parent f88fe6df4c
commit b9d31cf178
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=40559

View file

@ -13,7 +13,7 @@
<xsl:import href="http://www.FreeBSD.org/XML/www/share/xml/libcommon.xsl"/>
<xsl:import href="http://www.FreeBSD.org/XML/www/share/xml/xhtml.xsl"/>
<xsl:key name="indexLetter" match="term" use="translate(substring(text, 1, 1), $lowercase, $uppercase)"/>
<xsl:key name="indexLetter" match="term" use="translate(substring(text, 1, 1), 'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')"/>
<xsl:variable name="title">&title;</xsl:variable>