OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: adding to the en internalization


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

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"/>

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?


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]