[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] XHTML output: Move articleinfo/revhistory etc. to end of page?
On Sat, Jun 25, 2005 at 03:37:11PM -0700, Bob Stayton wrote: > Yes, it is possible to rearrange an article through a customization. You > need to copy the match="article" template from xhtml/component.xsl to a > stylesheet customization layer and make some changes. Your custom article OK, in my special case (I don't have footnotes in this document!) the customisation was even simpler: <xsl:template match="revhistory" mode="article.titlepage.recto.auto.mode"/> <xsl:template match="revhistory" mode="article.titlepage.recto.auto.mode.footnote"> <div xsl:use-attribute-sets="article.titlepage.recto.style"> <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> </div> </xsl:template> <xsl:template name="process.footnotes"> <xsl:apply-templates select="articleinfo/revhistory" mode="article.titlepage.recto.auto.mode.footnote"/> </xsl:template> Thanks for your valuable hints! Maybe it would be useful to have hooks before and/or after calling article.titlepage and process.footnotes in article (component.xsl)... Cheers, -- W. Borgert <debacle@debian.org>, http://people.debian.org/~debacle/
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]