On 5.7.2012 10:46, Thomas Schraitle wrote: > After I've transforming the above XML to XHTML, I'm getting this output: > > $ xsltproc --output test.html mydb.xsl test.xml > keycap: @function=escape [] > keycap: @function=alt [] > > Another point to mention: > The above keycap context is not available in the original en.xml file. > The interesting thing is, if I include the context in the original file, > my customization works too.
Your code looks OK. Could please try to use Saxon6 with your
customization layer instead of xsltproc? I'm sure code was working when
I was making this change, so I suspect xsltproc might have some bug in
key() implementation.
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
------------------------------------------------------------------
signature.asc
Description: OpenPGP digital signature
