On 5.7.2012 11:57, Thomas Schraitle wrote:

> thanks for your quick answer! :-)

OK, I have investigated little bit. There is no bug in stylesheets but
there is a feature -- local localization can override only existing
context (it is because in XSLT it's quite inconvenient to switch
documents on which key() operates). Line 512 in common/l10n.xsl is "guilty":

          <xsl:for-each select="$context.node">

In your case there is no such content in common/en.xml and code inside
xsl:for-each is not invoked -- but this code uses also local l10n into
account.

The easiest solution would be to reuse existing context, ie. change

 <l:context name="keycap">

to

 <l:context name="msgset">

Not nice, but will work.

                                Jirka


-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: [email protected]      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to