[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] How to suppress from printing titlepage and toc from a book in aset
This little template will do what you want: <xsl:template match="book[1]"> <xsl:variable name="content" select="*[not(self::title or self::subtitle or self::titleabbrev or self::bookinfo)]"/> <xsl:apply-templates select="$content"/> </xsl:template> It is what is left of the match="book" template from fo/division.xsl after the titlepage and TOC parts are removed. This template in your customization layer will match on the book whose position = 1. The stock book template will handle all other books. You didn't say anything about the set TOC, though. It will still contain entries for the first book. Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "Gerd Pokorra" <pokorra@uni-siegen.de> To: <docbook-apps@lists.oasis-open.org> Sent: Friday, May 27, 2005 1:46 AM Subject: [docbook-apps] How to suppress from printing titlepage and toc from a book in aset > > Hello! > > I have a <set> of two books. From the printed output I don't will to > have the titlepage and the table of contents (toc) from the first book. > What I have to add in my xsl-stylesheet to suppress the printing from > titlepage und toc of the first book in the set. > > Best wishes, > Gerd Pokorra > > E-Mail: pokorra@uni-siegen.de > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]