From: SourceForge.net <no...@so...> - 2005-11-23 10:06:01
|
Bugs item #1348167, was opened at 2005-11-04 12:13 Message generated for change (Comment added) made by arekup You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1348167&group_id=21935 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: XSL Group: output: all formats >Status: Open Resolution: Fixed Priority: 5 Submitted By: Peter Kullmann (arekup) Assigned to: Robert Stayton (bobstayton) Summary: Cannot OLink to table row Initial Comment: 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) ---------------------------------------------------------------------- >Comment By: Peter Kullmann (arekup) Date: 2005-11-23 11:05 Message: Logged In: YES user_id=402848 Verified in 2005-11-21_01:41_snapshot. Thanks. ---------------------------------------------------------------------- Comment By: Robert Stayton (bobstayton) Date: 2005-11-20 20:06 Message: 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/ ---------------------------------------------------------------------- Comment By: Peter Kullmann (arekup) Date: 2005-11-04 12:21 Message: Logged In: YES user_id=402848 Bob's answer: http://lists.oasis-open.org/archives/docbook-apps/200511/msg00032.html ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1348167&group_id=21935 |