[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: adding to the en internalization
Hi.
I'm trying to add new templates in the context of "title" to the en.xml
file. and rather than modifying the en.xml file, I'm following the
instructions found here
http://www.sagehill.net/docbookxsl/CustomGentext.html#CustomGenText
However when I add the this to my customization layer, the compiler
complains that the parameter name="local.l10n.xml is already defined. Which
is true - it's defined in common/l10n.xsl! But if I delete that line,
compiler complains that:
"No template for "/products" (or any of its leaves) exists in the context
named "title" in the "en" localization."
code (without the param redefined):
<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
<l:l10n language="en">
<l:context name="title">
<l:template name="products" text="%t"/>
</l:context>
</l:l10n>
</l:i18n>
If I add: <l:template name="products" text="%t"/> to the en.xml in the
common directory, it works great.
Background: I'm trying to use the chunkinging code from docbook, in my own
library and my root element is products
How can I get my stylesheet to work?
Thanks!
LN
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]