[jats-list] Re: Row headers in OASIS table model

Subject: [jats-list] Re: Row headers in OASIS table model
From: "Michael Boudreau mboudreau@xxxxxxxxxxxx" <jats-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 15 Sep 2022 20:48:42 -0000
Thanks, Julie.

We probably dont have the option to send non-standard JATS to our vendor, but
using modified CALS table markup in house (because we use Arbortext Editor
with a lot of customized tools based on CALS markup) and converting that to
XML/HTML table markup for our vendor might be an option.

--
Michael R. Boudreau
Electronic Publishing Technology Manager
The University of Chicago Press
1427 E. 60th Street
Chicago, IL 60637
www.journals.uchicago.edu


From: Julie Blair julie.blair@xxxxxxxxxxx
<jats-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wednesday, September 14, 2022 at 5:03 PM
To: jats-list@xxxxxxxxxxxxxxxxxxxxxx <jats-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [jats-list] Re: Row headers in OASIS table model
While we dont use the CALS table model for JATS, we use it in our proprietary
book DTD. We had to make adjustments to the table model within the DTD to
ensure accessibility of tables. For your below situation we added scope
attributes that would translate well into XHTML.

Associate table data with its headers
This step is required for more complex tables. For example, tables that
contain row and column headers, tables with multiple column header rows,
and/or entries that span multiple rows or columns.
@scope (<entry scope=>)
The scope attribute should be used on table entries (<entry>) that function as
headers to specify the range of entries they encompass. This could be either a
row, a column, a row group, or a column group.

  *   Add an @scope and assign a value of one of: row|col|rowgroup|colgroup
For example, please see the below encoding for a complex table using @scope:

<table rowheader="firstcol">
    <tgroup cols="3">
        <colspec colname="col1"/>
        <colspec colname="col2"/>
        <colspec colname="col3"/>
        <thead>
            <row>
                <entry morerows="1"/>
                <entry namest="col2" nameend="col3"
scope="colgroup">points</entry>
            </row>
            <row>
                <entry scope="col">expected</entry>
                <entry scope="col">actual</entry>
            </row>
        </thead>
        <tbody>
            <row>
                <entry scope="row">Mark</entry>
                <entry>10,000</entry>
                <entry>11,123.45</entry>
            </row>
            <row>
                <entry scope="row">Peter</entry>
                <entry>9,000</entry>
                <entry>11,012.34</entry>
            </row>
            <row>
                <entry scope="row">Cindy</entry>
                <entry>10,000</entry>
                <entry>10,987.64</entry>
            </row>
        </tbody>
    </tgroup>
</table>

Im not sure if you are able to modify your in-use DTD/schema  but this
approach could help. It is essentially using the expanded CALS table model for
DocBook 5.1:
https://lists.oasis-open.org/archives/dita/201303/msg00085/docbook5.1b8_table
s_rev.pdf<https://urldefense.com/v3/__https:/lists.oasis-open.org/archives/di
ta/201303/msg00085/docbook5.1b8_tables_rev.pdf__;!!BpyFHLRN4TMTrA!75h-PL9mPU0
hGKBv8jSnBVjP--I8ie_q1FlsQUImQF8Xjh0OnzM1ZUbW5OMqqcSury57V6kLczEPcmplX-Npi3sb
43tJnzHVT9HooU8PFQ$>

Julie Blair
Global Content Systems Manager
SAGE Publishing
2455 Teller Road
Thousand Oaks, CA 91320
USA

www.sagepublishing.com<https://urldefense.com/v3/__http:/www.sagepublishing.c
om/__;!!BpyFHLRN4TMTrA!75h-PL9mPU0hGKBv8jSnBVjP--I8ie_q1FlsQUImQF8Xjh0OnzM1ZU
bW5OMqqcSury57V6kLczEPcmplX-Npi3sb43tJnzHVT9FKzFM-6Q$>

From: Michael Boudreau mboudreau@xxxxxxxxxxxx <jats-list-

We use the OASIS table model in our JATS 1.2 XML for in-house editing with
Arbortext Editor. Is there a way to tag a table row so that the first cell in
the row is designated as a row header, so that this


<row>
    <entry>Row header</entry>
    <entry>Some value</entry>
    <entry>Another value</entry>
</row>

can be converted to this

<tr>
    <th scope="row">Row header</th>
    <td>Some value</td>
    <td>Another value</td>
</tr>


JATS-List info and
archive<https://urldefense.com/v3/__https:/nam12.safelinks.protection.outlook
.com/?url=http*3A*2F*2Fwww.mulberrytech.com*2FJATS*2FJATS-List*2F&data=05*7C0
1*7Cjulie.blair*40sagepub.com*7C52498fe2767f43f52eef08da9698a18b*7C866b3abd75
15461abdb412b4a1857f04*7C0*7C0*7C637987879556015289*7CUnknown*7CTWFpbGZsb3d8e
yJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0*3D*7C3000*7C*7
C*7C&sdata=fO0zLbCEKsgMIJCX*2F69jVIjd6KQMhAvm2e41Jp7xmB0*3D&reserved=0__;JSUl
JSUlJSUlJSUlJSUlJSUlJSUlJSU!!BpyFHLRN4TMTrA!75h-PL9mPU0hGKBv8jSnBVjP--I8ie_q1
FlsQUImQF8Xjh0OnzM1ZUbW5OMqqcSury57V6kLczEPcmplX-Npi3sb43tJnzHVT9G3Egn2fg$>
EasyUnsubscribe<https://urldefense.com/v3/__https:/nam12.safelinks.protection
.outlook.com/?url=http*3A*2F*2Flists.mulberrytech.com*2Funsub*2Fjats-list*2F2
43121&data=05*7C01*7Cjulie.blair*40sagepub.com*7C52498fe2767f43f52eef08da9698
a18b*7C866b3abd7515461abdb412b4a1857f04*7C0*7C0*7C637987879556015289*7CUnknow
n*7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6M
n0*3D*7C3000*7C*7C*7C&sdata=AizJ0Ydqd4cVPdIC*2BIVDudhbqBAZWw*2FRK5IabnPAwTc*3
D&reserved=0__;JSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUl!!BpyFHLRN4TMTrA!75h-PL9mPU0hG
KBv8jSnBVjP--I8ie_q1FlsQUImQF8Xjh0OnzM1ZUbW5OMqqcSury57V6kLczEPcmplX-Npi3sb43
tJnzHVT9ERGk4OPA$> (by email)
JATS-List info and
archive<https://urldefense.com/v3/__http:/www.mulberrytech.com/JATS/JATS-List
/__;!!BpyFHLRN4TMTrA!75h-PL9mPU0hGKBv8jSnBVjP--I8ie_q1FlsQUImQF8Xjh0OnzM1ZUbW
5OMqqcSury57V6kLczEPcmplX-Npi3sb43tJnzHVT9FVfJCqWw$>
EasyUnsubscribe<https://urldefense.com/v3/__http:/lists.mulberrytech.com/unsu
b/jats-list/2986360__;!!BpyFHLRN4TMTrA!75h-PL9mPU0hGKBv8jSnBVjP--I8ie_q1FlsQU
ImQF8Xjh0OnzM1ZUbW5OMqqcSury57V6kLczEPcmplX-Npi3sb43tJnzHVT9HU5GxBNg$> (by
email<>)

Current Thread