Boostbook: Fix for libxslt 1.27.0.

libxslt now seems to think that $uppercase-letters and $lowercase-letters are
undefined at this point. I'm not sure if it's right, or if this is a regression
in libxslt, but it's easy enough to get working, and while it isn't ideal, it
isn't too problematic.

[SVN r81386]
This commit is contained in:
Daniel James 2012-11-17 10:30:37 +00:00
parent dfc72f6d44
commit 7853cc1d04

View File

@ -20,7 +20,9 @@
<xsl:key name="macros" match="macro" use="@name"/>
<xsl:key name="headers" match="header" use="@name"/>
<xsl:key name="globals" match="namespace/data-member|header/data-member" use="@name"/>
<xsl:key name="named-entities" match="class|struct|union|concept|function|overloaded-function|macro|library|namespace/data-member|header/data-member|*[attribute::id]" use="translate(@name|@id, $uppercase-letters, $lowercase-letters)"/>
<xsl:key name="named-entities"
match="class|struct|union|concept|function|overloaded-function|macro|library|namespace/data-member|header/data-member|*[attribute::id]"
use="translate(@name|@id, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')"/>
<xsl:template match="function|overloaded-function" mode="generate.id">
<xsl:call-template name="fully-qualified-id">