[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: [Fwd: Re: DOCBOOK-APPS: HTMLHelp,base dir missing from filepathsin alias.h]
Rune Enggaard Jensen wrote: > I think the reason this bug crept in is that the template > href.target.with.base.dir only works on the current node. My guess is > that Jirka therefore decided to use the general href.target, and simply > forgot to add base.dir. I just forgot to base.dir for a while when implementing <?dbhh ?>. > In my own customization, I have parameterized the > href.target.with.base.dir template, such that it looks like this: > > <xsl:template name="href.target.with.base.dir"> > <xsl:param name="object" select="."/> > <xsl:value-of select="$base.dir"/> > <xsl:call-template name="href.target"> > <xsl:with-param name="object" select="$object"/> > </xsl:call-template> > </xsl:template> > > I then use this template instead of href.target, and works like a charm! > > Jirka, does this look OK to you or is there a deeper reason for not > parameterizing href.target.with.base.dir? You are right, I made exactly same change to template as you few hours ago. Originaly there were no need for declaring object parameter because template was called only for actual node. However this is not longer true for <?dbhh ?> template. Jirka -- ----------------------------------------------------------------- Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC