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: page-specific footer for chunked output


> * Bob Stayton <obof@fntruvyy.arg> [2005-02-03 00:10:25 -0800]:
>
> Your "bookinfo/subtitle" path is taken relative to the current context
> node, which is the current chunk being processed.  That should
> probably be "//bookinfo/subtitle".

works, thanks!!

> <img>
>   <xsl:attribute name="src">
>     <xsl:text>......../?</xsl:text>
>     <xsl:value-of select="@id"/>
>     </xsl:text>?....</xsl:text>
>   </xsl:attribute>
> </img>

works, thanks!!

>> 3. The index page is named "impnotes-top.html" because that's the ID
>>    attribute of the <book> element is "impnotes-top".
>>    All the standard navigation footers refer to it as "index.html":
>>    first, as
>> <link rel="start" href="index.html" title="Implementation Notes for GNU
> CLISP." />
>>    in <head> and then as
>> <a accesskey="h" href="index.html">Home</a>
>>    in the body footer.
>>    why?
>
> Normally the index page is named "index.html" if book is the root
> element.  The template named "recursive-chunk-filename" in
> chunk-common.xsl selects the filename.  It can be changed with a
> dbhtml filename processing instruction, or by changing the value of
> the root.filename parameter whose default value is "index".

<xsl:param name="root.filename" select="'impnotes-top'"/>
worked, thanks!

it's too bad that I have to set this twice - in xml sources and xsl
customizations...

> But if book is the root element, it should not get the id value.

<book id="impnotes-top"> is the root element, and if I do not supply an
id, the generated html will contain a gensym id.

> Is the book inside a set, by any chance?
no.

> If not, I wonder how the file is being named for the id.

the top-level toc file is named "impnotes-top.html" and I have to
symlink it to "index.html".


-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
Fighting for peace is like screwing for virginity.



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