Multiple tgroups in side table element #tables


Debra Bissantz
 

Does anybody have a use case for having more than one <tgroup> element inside a <table> element?

Have you seen this in practice?

Thanks for your thoughts - 

Deb


 

Large tables - typically in an appendix - are sometimes divided into sections, each of which has a separate header. The table should still behave like a single table (numbering, no spaces between the sections) so having multiple <tgroup> is the way to make it work. I have seen examples of this in a non-DITA XML standard and there is no reason why this would not be applicable to DITA as well.

Jang

Smart Information Design
Amsterdam, Netherlands
Cell: +31 646 854 996

On 26 Aug 2021, 21:07 +0200, Debra Bissantz <dbissantz@...>, wrote:
Does anybody have a use case for having more than one <tgroup> element inside a <table> element?

Have you seen this in practice?

Thanks for your thoughts - 

Deb


Graydon Saunders
 

Also in the case of large tables of reference material, tgroup has an id attribute.  If you want to reference subsets of the large table for transclusion elsewhere, having the canonical table be a multi-tgroup table can, somewhat counter-intuitively, make everything simpler and easier.

Graydon Saunders | Lead Developer | Precision Content 
Direct: (637) 557-4995  Email: graydon@... | www.precisioncontent.com


  

Unlock the Knowledge in Your Enterprise™


This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Please notify us by return email if you have received this email in error.  ©2021, Precision Content Authoring Solutions Inc, Toronto, Ontario, Canada


From: main@dita-users.groups.io <main@dita-users.groups.io> on behalf of 4everJang via groups.io <jang@...>
Sent: 27 August 2021 01:18
To: main@dita-users.groups.io <main@dita-users.groups.io>
Subject: Re: [dita-users] Multiple tgroups in side table element #tables
 
Large tables - typically in an appendix - are sometimes divided into sections, each of which has a separate header. The table should still behave like a single table (numbering, no spaces between the sections) so having multiple <tgroup> is the way to make it work. I have seen examples of this in a non-DITA XML standard and there is no reason why this would not be applicable to DITA as well.

Jang

Smart Information Design
Amsterdam, Netherlands
Cell: +31 646 854 996
On 26 Aug 2021, 21:07 +0200, Debra Bissantz <dbissantz@...>, wrote:
Does anybody have a use case for having more than one <tgroup> element inside a <table> element?

Have you seen this in practice?

Thanks for your thoughts - 

Deb