Re: [docbook-apps] local.l10n.xml working in the xslt 2.0 stylesheets?

From
David Cramer <>
Date
2012-07-20T18:30:10+00:00
ID
Thread
Re: [docbook-apps] local.l10n.xml working in the xslt 2.0 stylesheets?
On 07/19/2012 10:04 PM, David Cramer wrote:
> Hi there,
> Using the latest xslt 2.0 stylesheets, I've added the following to my
> customization layer for html output:
> 
>   <xsl:param name="local.l10n.xml" select="document('')"/>
>   <i18n xmlns="http://docbook.sourceforge.net/xmlns/l10n/1.0">
>     <l:l10n
>       xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"
>       language="en"
>       english-language-name="English">
>       <l:context name="xref">
>         <l:template name="section" text="%t"/>
>       </l:context>
>     </l:l10n>
>   </i18n>
> 
> Surprisingly, it doesn't seem to have any effect. Is this feature
> working for anyone else?

Btw., the entire customization layer is here:

https://github.com/rackspace/clouddocs-maven-plugin/blob/webhelpwar/src/main/resources/cloud/war/docbook.xsl

David