Pagenumbers in crossref with my own style

I have the following xml example and the corresponding xls stylesheet. The pagenumber, however, is not shown as S. 1, but [1] not respecting the style for the pagenumer. What is missing? Regards Bernhard testref.xml: <?xml version="1.0" encoding="UTF-8"?> <?xml-model href="http://docbook.org/xml/5.1/rng/docbookxi.rng" schematypens="http://relaxng.org/ns/structure/1.0"?> <?xml-model href="http://docbook.org/xml/5.1/sch/docbook.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> <chapter xmlns="http://docbook.org/ns/docbook" xml:lang="de" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:ns5="http://www.w3.org/2000/svg" xmlns:ns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.1"> <title>Nachtfalter</title> <para>Die bis Herbst 2018 fotografierten Nachtfalter (Großschmetterlinge) gehören zu folgenden Schmetterlingsfamilien (in Klammern die Anzahl der bis Ende Sept. 2018 gefundenen Arten):</para> <para><itemizedlist> <listitem> <para>Zygaenidae - Widderchen (6)<xref linkend="Zygaenidae" xrefstyle="PageInParen" /></para> </listitem> </itemizedlist> </para> <sect1 xml:id="Zygaenidae" xreflabel=""> <title>Zygaenidae - Widderchen </title> <table frame="none"> <title>Zygaenida</title> <tgroup cols="2" align="center"> <tbody> <row valign="middle" rowsep="0"> <entry>Beilfleck-Widderchen</entry> <entry>Thymian/Bibernell-Widderchen</entry> </row> </tbody> </tgroup> </table> </sect1> </chapter> Falterbuechlein.xls <?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> -- spitzhalde9 D-79853 lenzkirch bernhard.kleine@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

Hi Bernhard, This is not an Oxygen issue, but an issue with using the DocBook stylesheets. I would suggest you instead join the docbook-apps mailing list and post the question there. That mailing list is described on this DocBook Wiki page: https://github.com/docbook/wiki/wiki/DocBookAppsMailingList That list also has an extensive archive with answers to questions from many users. Bob Stayton Sagehill Enterprises bobs@sagehill.net On 9/26/2018 1:52 AM, Bernhard Kleine wrote:
<chapter xmlns="http://docbook.org/ns/docbook"" xml:lang="de" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:ns5="http://www.w3.org/2000/svg" xmlns:ns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.1"> <title>Nachtfalter</title> <para>Die bis Herbst 2018 fotografierten Nachtfalter (Großschmetterlinge) gehören zu folgenden Schmetterlingsfamilien (in Klammern die Anzahl der bis Ende Sept. 2018 gefundenen Arten):</para> <para><itemizedlist> <listitem> <para>Zygaenidae - Widderchen (6)<xref linkend="Zygaenidae" xrefstyle="PageInParen" /></para> </listitem> </itemizedlist> </para>
<sect1xml:id="Zygaenidae" xreflabel=""> <title>Zygaenidae - Widderchen </title> <table frame="none"> <title>Zygaenida</title> <tgroup cols="2" align="center"> <tbody>
<row valign="middle" rowsep="0"> <entry>Beilfleck-Widderchen</entry> <entry>Thymian/Bibernell-Widderchen</entry> </row> </tbody> </tgroup> </table> </sect1> </chapter>
participants (2)
-
Bernhard Kleine
-
Bob Stayton