Menu

#720 Cannot OLink to table row

output: all formats
closed-fixed
XSL (1066)
5
2005-11-23
2005-11-04
No

I try to olink to a table row and it doesn't work: In
the target.db
(generated by docbook.xsl with collect.xref.targets) no
child elements of the table are generated. For example:

Document:
...
<table><title>Systemparameter</title>
<tgroup cols="3">
<thead>
<row>
<entry>Parameter</entry>
<entry>Beschreibung</entry>
<entry>Wert (Beispiel)</entry>
</row>
</thead>
<tbody>
<row id="ft.x-par.adts">
<entry>adts</entry>
...

Corresponding target.db:
...
<obj element="table"
href="ft.refdata.sysparam.html#id2697899" number="63">
<ttl>Systemparameter</ttl>
<xreftext>Tabelle 63, Systemparameter</xreftext>
</obj>
...

I think the reason for this behaviour is clear. In the
commons/targets.xsl the following template prevents the
processing of the child nodes of a table:

<xsl:template match="figure|example|table"
mode="olink.mode">
<xsl:call-template name="obj"/>
</xsl:template>

(This is from a post to docbook-apps:
http://lists.oasis-open.org/archives/docbook-apps/200511/msg00000.html\)

Discussion

  • Robert Stayton

    Robert Stayton - 2005-11-20

    Logged In: YES
    user_id=193218

    A fix for this issue has been added to the current codebase.
    Please test the fix with the latest snapshot from:

    http://docbook.sourceforge.net/snapshots/

     
  • Robert Stayton

    Robert Stayton - 2005-11-20
    • assigned_to: nobody --> bobstayton
    • status: open --> pending-fixed
     
  • Peter Kullmann

    Peter Kullmann - 2005-11-23
    • status: pending-fixed --> open-fixed
     
  • Peter Kullmann

    Peter Kullmann - 2005-11-23

    Logged In: YES
    user_id=402848

    Verified in 2005-11-21_01:41_snapshot. Thanks.

     
  • Robert Stayton

    Robert Stayton - 2005-11-23
    • status: open-fixed --> closed-fixed