Next in thread → Next in month →

Re: Links IDs to the glossary [was: One TOC and one glossary for multiple docbook XML files]

From
Bob Stayton <>
Date
2003-04-14T16:37:18+00:00
ID
Thread
Re: Links IDs to the glossary [was: One TOC and one glossary for multiple docbook XML files]
On Mon, Apr 14, 2003 at 11:26:48AM +0200, Yan Bilik wrote:
> > Bob Stayton [mailto:] - vendredi 11 avril 2003 18:38
> >
> > (...)
> > You should consider instead using
> > the glossary collection feature of DocBook.  That lets
> > you keep a central glossary database that your individual
> > documents can draw upon for terms.  Then you just need
> > to have a link to a rendered version of your glossary
> > collection file.  See the "Glossary database" section in:
> > http://www.sagehill.net/xml/docbookxsl/SolveProblems.html
> 
> Thank you Bob,
> Generation of local glossaries works fine this way.
> 
> But I noted a strange thing: generated "href" attributes to the local
> glossary
> begin with a "#gl." (GL lower-case) plus the automatic numeric
> identifier ("id123456").
> And I have no such "gl" identifer in the generated document.
> 
> I commented the line #728 in file xhtml/inline.xsl, which is the line
> that
> adds this prefix, and now, links to glossary work well...
> 
> Is it a bug ? Or did I forget something ? (I could probably guess by
> myself reading the XSL files, but I am a beginner with XSL...)

Indeed, that was a bug that has been fixed in CVS.
The fix will be in the next release of the stylesheets.

-- 

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: 
Next in thread → Next in month →