[oXygen-user] Xreflabel not shown in xref's

Oxygen XML Editor Support (Radu Coravu) support at oxygenxml.com
Tue Nov 14 06:38:00 CST 2017

Hi Bernhard,

Usually for this kind of Docbook-related questions you should consider 
registering on the Docbook Apps users list:


and ask around as we do not use Docbook much internally and they may 
have better suggestions for you.
It seems that the Docbook XSLT project has translations for some static 
texts, for example you can open this file:


and there is a mapping there between a key and a translation:

> <l:gentext key="sectioncalled" text="the section called"/>

which is probably used when the link text is computed by the EPUB XSLTs.

I think that in your case the English translation is used because you 
have not set 'xml:lang="de"' to your <article>'s root element.
And of course you can control these static texts by modifying the 
translation files.
More about Docbook and translating its static texts:


Radu Coravu
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger

On 11/14/2017 1:26 PM, Bernhard Kleine wrote:
> Hi,
> I noticed some strange things with xrefs. The picture shows how the epub
> (produced without any outside help) shows it. The English text "the
> section called" is very strange and added  during processing.
> The original xml is
> (<varlistentry>
>                     <term>Beschreibung</term>
>                     <listitem>
>                         <para>(vergl. Abschn. <xref
> linkend="Ch14.SS.GeneticDefects"/>).</para>
>                     </listitem>
>                 </varlistentry>)
> and the target:
>  <sect2 xml:id="Ch14.SS.GeneticDefects" xreflabel=""><title>Genetische
> Ausfälle</title>
> It is not always that "the section called" is added, there seems to
> exist some ambiguity.
> Regards
> Bernhard
> --
> spitzhalde9
> D-79853 lenzkirch
> bernhard.kleine at gmx.net
> www.b-kleine.com, www.urseetal.net
> -
> thunderbird mit enigmail
> GPG schlüssel: D5257409
> fingerprint:
> 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-user

More information about the oXygen-user mailing list