[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] [XSL] Changing the names used for navigation?
Hi Stephane, you can add something like this to your adaption layer to overwrite the default values: <xsl:param name="local.l10n.xml" select="document('')" /> <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"> <l:l10n language="de"> <l:context name="xref"> <l:template name="figure" text="Abbildung %n. %t"/> <l:template name="table" text="Tabelle %n. %t"/> </l:context> </l:l10n> <l:l10n language="en"> <l:context name="xref"> <l:template name="figure" text="Figure %n. %t"/> <l:template name="table" text="Table %n. %t"/> </l:context> </l:l10n> </l:i18n> Stephan Stephane Bortzmeyer wrote: >I'm using DocBook XSL stylesheets to produce HTML and I would like to change just a >name used in the navigation (replacing Home by TableOfContents because >it is not the real home page). > >I can find nothing in the documentation. Of course, I can edit >common/en.xml but I'm looking for a cleaner solution, some variable I >can add in my stylesheet driver, something like: > ><gentext key="nav-home" text="Table Of Contents"/> > >but I cannot find what to add. Reading the source only convinced me >that I'm not a XSL guru yet. > > >--------------------------------------------------------------------- >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]