[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: page-specific footer for chunked output
I have a customization layer for chunked output: <xsl:import href="/usr/share/docbook-xsl/xhtml/chunk.xsl"/> <xsl:param name="chunk.first.sections" select="1"/> and I want each output html page to have a footer, so I have a <xsl:template name="user.footer.content">. 1. I want the same text in each output html page, which is based on the bookinfo element in the XML source file. specifically, I have <xsl:template name="user.footer.content"> ... <xsl:if test="bookinfo"><div class="bookinfo"> <hr width="100%"/><table width="100%"> <th><td align="left"><xsl:value-of select="bookinfo/subtitle"/></td> <td align="right"><xsl:value-of select="bookinfo/date"/></td></th> </table></div></xsl:if> .... </xsl:template> this does not work: this footer is never output - except for the TOC page (whose source contains the bookinfo element). what am I doing wrong? 2. I want a text specific to the output html page in the footer. E.g., a "<section id='foo'>...." will be turned into a file named foo.html and I want it (foo.html) to contain this: <img src="......./?foo?..." .../> how do I do that? 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? Thanks! -- 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> Beliefs divide, doubts unite.