[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: header and footer adding - help please
> From: Ewa Szulc <ewa@informa.com.pl> > > hi! > > I am quite new to docbook and xml. > I am writing an user guide in docbook. > I want to add a header and footer to every html side. > Just like e.g: > > http://www.linux-mandrake.com/en/doc/81/en/user.html/tools.html > > I want it to have a navigation menu (PREV, NEXT, HOME) and chapter in= > fo in header and footer. > And some other info like in my example second footer: > "Linux is a registered trademark of Linus Torvalds. All other tradema= > rks and copyrights are the property....." Most of the header and footer content you see on that site are standard DocBook XSL style when the "chunk.xsl" stylesheet is used instead of the standard "docbook.xsl" stylesheet. Chunking breaks your DocBook document into many HTML files, and the headers and footers provide navigation. The Docbook XSL stylesheets include a facility for adding your own content to the standard navigational stuff. You need to create a customization layer that includes a new <xsl:template> named "user.footer.navigation". That template should generate the extra HTML you want added. That template name is automatically called after the standard footer. You'll have to learn some XSL to write that template. For an example of a customization layer using chunk.xsl, see this posting from Dan York: http://lists.oasis-open.org/archives/docbook-apps/200107/msg00204.html bobs Bob Stayton 400 Encinal Street Publications Architect Santa Cruz, CA 95060 Technical Publications voice: (831) 427-7796 Caldera International, Inc. fax: (831) 429-1887 email: bobs@caldera.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC