OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Html: suppressing separate titlepage for book/article


A problem has surfaced wrt navigation.
The 'next' link now points to a non-existent file.

Given this:
<chapter id="cl-annotate" xreflabel="Callgrind Annotate">
  <title>Callgrind Annotate</title>
  <xi:include href="cl-annotate.xml" parse="xml"  
      xmlns:xi="http://www.w3.org/2001/XInclude"; />

Then an incorrect $next is being generated from
<article id="callgrind_annotate">

so that the nav. link points to

when it should in fact point to the next chapter.

I think (?) this is happening in both 
  <xsl:template name="header.navigation">
  <xsl:template name="footer.navigation">

Am I right in thinking I'm going to have to modify these lines in some 
<xsl:if test="count($prev)>0">
  <a accesskey="p">
  <xsl:attribute name="href">
    <xsl:call-template name="href.target">
      <xsl:with-param name="object" select="$prev"/>
  <xsl:call-template name="navig.content">
    <xsl:with-param name="direction" select="'prev'"/>

I'd appreciate some help on what to do here.



(PS: of course all this applies to the 'prev' link also,
when on the next chapter page)

There is not a shred of evidence to suggest 
that life should be taken seriously

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]