[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: titlepage and othercredits. v5 stylesheets
Problem. No boilerplate text for othercredits. Half a solution. In the generated titlepage template (this for book.info only) <xsl:template match="d:othercredit[1]" mode="book.titlepage.recto.auto.mode"> <div xsl:use-attribute-sets="book.titlepage.recto.style" class='firstCredit'> <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> </div> </xsl:template> <xsl:template match="d:othercredit[not(position() = 1)]" mode="book.titlepage.recto.auto.mode"> <div xsl:use-attribute-sets="book.titlepage.recto.style"> <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> </div> </xsl:template> How this gets into the titlepage.xsl I'm far less sure :-) I can now generate the prefix using CSS, though I guess the longer term solution would be to add to the gentext? regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]