[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] [SPAM] How to customize layout for title page?
The example about importing your generated titlepage templates was corrected in the errata sheet for my book: http://www.sagehill.net/book-errata3rdEdition.html If you use xsl:import instead of xsl:include, you can add your new template named 'book.titlepage.recto'. Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "Darya Said-Akbari" <darya_akbari@yahoo.com> To: <docbook-apps@lists.oasis-open.org> Sent: Thursday, August 24, 2006 2:27 AM Subject: [docbook-apps] [SPAM] How to customize layout for title page? > Hi, > > I need to create a specific title page layout and > follow the descritpion at > http://www.sagehill.net/docbookxsl/TitlePagePrint.html#TitlepageTableLayout > > I am little bit confused whether I should remove the > generated title page stylesheet template (created from > a title page spec file) from my customization layer > XSL file or not. > > When I remove that line I loose all style related > stuff. On the other hand, when I keep that line Saxon > throws an error: > > Error at xsl:call-template on line 479 of > file:.../docbookxsl/fo/titlepage.templates.xsl: > There are several templates named > 'book.titlepage.recto' with the same import precedence > Error at xsl:call-template on line 479 of > file:t.../titlepage.spec.fo.xsl: > There are several templates named > 'book.titlepage.recto' with the same import precedence > Transformation failed: Failed to compile stylesheet. 2 > errors detected. > > My customization layer XSL looks like: > > <?xml version="1.0" encoding="UTF-8"?> > <xsl:stylesheet > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > version="1.0" > xmlns:fo="http://www.w3.org/1999/XSL/Format"> > > <xsl:import href="docbookxsl/fo/docbook.xsl"/> > > <xsl:include href="titlepage.spec.fo.xsl"/> > > ... > > Any hints are welcome. > > Regards, > Darya > > > > ___________________________________________________________ > Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.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]