Tables with Split Cells
Post here questions and problems related to editing and publishing DITA content.
Tables with Split Cells
I was wondering if there is a way to warp all table data that should visually appears as 1 row in the html output with a class.
To further explain:
We have tables where some cells in a row are split, therefore causing additional row tags, even though visually we want all of this information, including the split cells to appear as 1 row in the html output. See example below with comments.
To further explain:
We have tables where some cells in a row are split, therefore causing additional row tags, even though visually we want all of this information, including the split cells to appear as 1 row in the html output. See example below with comments.
Code: Select all
<table frame="none" id="test_topic_table_wbw_d2c_mz">
<tgroup cols="4">
<colspec colname="c1" colnum="1" colwidth="1.0*"/>
<colspec colname="c2" colnum="2" colwidth="1.0*"/>
<colspec colname="c3" colnum="3" colwidth="1.0*"/>
<colspec colname="newCol4" colnum="4" colwidth="1*"/>
<thead>
<row><!--start of heading row-->
<entry>1</entry>
<entry>2</entry>
<entry namest="c3" nameend="newCol4">3</entry>
</row>
</thead>
<tbody>
<row><!--start of row 1-->
<entry morerows="1">row 1, column 1</entry>
<entry morerows="1">row 1, column 2</entry>
<entry>row 1, column 3/split</entry>
<entry>row 1, column 3/split</entry>
</row>
<row>
<entry>row 1, column 3/split</entry>
<entry>row 1, column 3/split</entry>
</row><!--can I wrap everything from the start of row 1 until this comment with a class because I want it to visually appear as 1 row-->
<row><!--start of row 2-->
<entry>row 2, column 1</entry>
<entry>row 2, column 2</entry>
<entry namest="c3" nameend="newCol4">row 2, column 3</entry>
</row>
</tbody>
</tgroup>
</table>
Re: Tables with Split Cells
Hi,
I don't see a good solution for this. Maybe you could set on all those rows some special custom @outputclass attribute values and pick them up in the XSLT.
Regards,
Radu
I don't see a good solution for this. Maybe you could set on all those rows some special custom @outputclass attribute values and pick them up in the XSLT.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
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