Hi Bernhard,
Your original XML sample file included this attribute in the <sect1>
element that was the target of the xref:
xreflabel=""
That says any xref text generated for that sect1 should be blank, and
prevents any xref text from being generated. Remove that, and it should
work for you.
Bob Stayton
Sagehill Enterprises
[email protected]
On 9/26/2018 1:45 PM, Bernhard Kleine wrote:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import
href="http://docbook.sourceforge.net/release/xsl-ns/current/fo/docbook.xsl"/>
<xsl:param name="paper.type" select="'a4'"/>
<xsl:param name="page.orientation" select="'portrait'"/>
<xsl:param name="local.l10n.xml" select="document('')"/>
<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
<l:l10n language="de">
<l:context name="title">
<l:template name="table" text="Tabelle %t."/>
</l:context>
<l:context name="xref-number-and-title">
<l:template name="table" text="(in
Tabelle≴%t”)"/>
<l:template name="xref" style="PageInParen" text=" (S.
%p)"/>
</l:context>
</l:l10n>
</l:i18n>
</xsl:stylesheet>