Re: [docbook-apps] mulitple

From
Gisbert Amm <>
Date
2004-07-12T07:44:47+00:00
ID
Thread
Re: [docbook-apps] mulitple
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?

Regards,
Gisbert Amm