This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] mulitple
On Monday 12 July 2004 09:48, Gisbert Amm wrote:
> Wim Lemkens wrote:
> > Hello,
> >
> > I have an extension that includes the standard docbook and 2 other .xsl
> > sheets. In those 2 sheets I both have some localizations for my
> > templates.
> >
> > I declared the this way:
> > <xsl:param name="local.l10n.xml" select="document('')"/>
> > <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
> > <l:l10n language="nl">
> > <l:context name="title">
> > <l:template name="something" text="Iets"/>
> > </l:context>
> > </l:l10n>
> > <l:l10n language="en">
> > <l:context name="title">
> > <l:template name="something" text="Something"/>
> > </l:context>
> > </l:l10n>
> > </l:i18n>
> >
> > But it seems that my second sheet overwrites the definitions of my first
> > sheet. How should I declare it, so that I am able to keep de
> > declarations in
> > these seperate documents?
>
> Are you using xsl:import or xsl:include to merge your modules in?
import, but including just reverses the problem.
(import A, import B -> B used)
(include A, include B -> A used)
Greetings,
Wim
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.