This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Debugging gentext customizations
- From: "Darren Richmond" <darren at eldergrove dot com>
- To: <docbook-apps at lists dot oasis-open dot org>
- Date: Thu, 3 Apr 2003 21:29:26 -0600
- Subject: [docbook-apps] Debugging gentext customizations
I'm trying to change the text of cross-references to docbook sections from
the default cross-reference text 'Section , "Section Title"' to 'the section
"Section Title"'.
I've got a customization layer for FO that works fine for lots of other
customizations (params, attributes). I've added the following code to the
customization layer:
<xsl:param name="local.l10n.xml" select="document('')"/>
<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
<l:l10n language="en">
<l:context name="xref">
<l:template name="sect1" text="the section “%t”"/>
<l:template name="sect2" text="the section “%t”"/>
<l:template name="sect3" text="the section “%t”"/>
<l:template name="sect4" text="the section “%t”"/>
<l:template name="sect5" text="the section “%t”"/>
<l:template name="section" text="the section “%t”"/>
<l:template name="Section" text="the section “%t”"/>
</l:context>
</l:l10n>
</l:i18n>
However, I keep getting the same default text. What's the best way to debug
this?
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org