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]

RE: htmlhelp.xsl: links in index


Ok, never mind I forgot the select=".": <xsl:apply-templates mode="chunk-filename" select="."/> is doing the trick. Sorry for the noise.

David

> -----Original Message-----
> From: David Cramer 
> Sent: Monday, January 06, 2003 4:24 PM
> To: Jirka Kosek
> Cc: docbook-apps@lists.oasis-open.org
> Subject: RE: DOCBOOK-APPS: htmlhelp.xsl: links in index
> 
> 
> Actually--I take that back. That seems not to work at all. So 
> I guess I need to find the nearest chunk and then do 
> <xsl:apply-templates mode="chunk-filename" select="whatever"/> on it? 
> 
> David
> 
> > -----Original Message-----
> > From: David Cramer 
> > Sent: Monday, January 06, 2003 4:18 PM
> > To: 'Jirka Kosek'
> > Cc: docbook-apps@lists.oasis-open.org
> > Subject: RE: DOCBOOK-APPS: htmlhelp.xsl: links in index
> > 
> > 
> > Ah, I was just about to go crazy, then I searched the 
> > archives. So if I prefer to forgo linking to the exact spot 
> > on the page in return for descriptive titles in the "Topics 
> > Found" box, is this change safe? It seems to work, but I'm 
> > not exactly sure how mode="chunk-filename" works:
> > 
> > <xsl:template name="write.indexterm.hhk">
> >   <xsl:param name="text"/>
> >   <xsl:param name="seealso"/>
> >   <![CDATA[<LI> <OBJECT type="text/sitemap">
> >         <param name="Name" value="]]><xsl:value-of 
> > select="$text"/><xsl:text><![CDATA[">]]></xsl:text>
> >       <xsl:if test="not(seealso)">
> >         <xsl:variable name="href">
> > 		<xsl:apply-templates mode="chunk-filename"/>
> >           <!--xsl:call-template name="href.target.with.base.dir"/-->


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