This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] Re: [docbook-dev] Internationalized index in XSL


On Thu, Nov 27, 2003 at 01:39:29PM +0100, Jirka Kosek wrote:
> Hi,
> 
> automatic indexing which is available in the DocBook XSL stylesheets is 
> working quite well for English, but for other languages it lacks several 
> features.
> 
>  From my own experience, following functionality is missing:
> 
> - allow to group accented letters like e, é, ë into the same group under 
> letter "e"
> 
> - treat special letters (e.g. "ch") as one character and place them in 
> correct position (e.g. between "h" and "i")
> 
> Attached customization layer is able to solve these two issues. If you 
> want to try it, just import original fo/docbook.xsl into your 
> customization layer and then include attached file. It was tested under 
> Saxon, but should work in any processor which implements EXSLT function 
> extension.

Hi Jirka,
I just tried it with xsltproc, and it fails with
this message (repeated several times):

xmlXPathCompOpEval: function group-index bound to undefined prefix i

This seems odd, since the XSL file includes this namespace
declaration in the root element:

  xmlns:i="urn:cz-kosek:functions:index"

I even tried adding the namespace declaration here:

  <func:function name="i:group-index"
                 xmlns:i="urn:cz-kosek:functions:index">

and I still get the same error.  I wonder if this
is a bug in xsltproc's implementation of
exslt functions?

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com


To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]