Cannot reference to a <row> in a table
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 18
- Joined: Thu Jan 21, 2016 10:28 am
Cannot reference to a <row> in a table
Post by Nikky_zhang »
Hi,
I am facing a problem about referencing to a <row> in a table.
The environment I am using is
Oxygen 17.0
DITA-OT 1.8.5
I create a table with Oxygen, and add an id in a <row>, for example
After that, I made a link in the same doc, such as
But we it is transformed to PDF. the link is broken.
Anyone can tell me why?
Thank you very much
Nikky
I am facing a problem about referencing to a <row> in a table.
The environment I am using is
Oxygen 17.0
DITA-OT 1.8.5
I create a table with Oxygen, and add an id in a <row>, for example
Code: Select all
<p>
<talbe frame="all" rowsep="1">
<title/>
<tgroup cols="2">
<colspec colname="c1" colnum="1" colwidth="1.0"/>
<colspec colname="c2" colnum="2" colwidth="1.0*/>
<thead>
<row>
<entry>test1</entry>
<entry>test2</entry>
</thead>
<tbody>
<row id="test">
<entry>test3</entry>
<entry>test4</entry>
</row>
</tbody>
</tgroup>
</table>
Code: Select all
<p>Refer to <xref href="concep_ujr_4r3_nx/test5 format="dita">test5</xref></p>
Anyone can tell me why?
Thank you very much
Nikky
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Cannot reference to a <row> in a table
Hi Nikky,
As far as I remember the Apache FOP PDF processor has a problem with links to table rows:
https://issues.apache.org/jira/browse/FOP-2110
Sometime in a DITA OT 2.x release a workaround was made for this problem by automatically considering that the ID should point to the first cell in the table row. But as you are using an older DITA OT you will probably have to manually set the ID on the first cell in the table row.
Regards,
Radu
As far as I remember the Apache FOP PDF processor has a problem with links to table rows:
https://issues.apache.org/jira/browse/FOP-2110
Sometime in a DITA OT 2.x release a workaround was made for this problem by automatically considering that the ID should point to the first cell in the table row. But as you are using an older DITA OT you will probably have to manually set the ID on the first cell in the table row.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service