<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello Michael,</p>
    <p>Great, I'm glad this works for you for editing.</p>
    <p>Probably such styling also depends on how you publish the JATS
      document further, if you produce an HTML document from it, that
      may work but for producing a PDF having HTML-related styles in the
      JATS file will probably not produce results in the PDF.<br>
    </p>
    <p>Regards,</p>
    <p>Radu</p>
    <pre class="moz-signature" cols="72">Radu Coravu
Oxygen XML Editor</pre>
    <p></p>
    <div class="moz-cite-prefix">On 10/17/22 18:09, Michael Boudreau
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CH0PR11MB5508C9CC03A8414B0D0178DACF299@CH0PR11MB5508.namprd11.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style>@font-face
        {font-family:Courier;
        panose-1:0 0 0 0 0 0 0 0 0 0;}@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
        {font-family:"Times New Roman \(Body CS\)";
        panose-1:2 11 6 4 2 2 2 2 2 4;}@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        font-size:10.0pt;
        font-family:"Courier New";}span.elementtag
        {mso-style-name:elementtag;}span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;
        font-weight:normal;
        font-style:normal;}.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}div.WordSection1
        {page:WordSection1;}</style>
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-size:12.0pt">Thanks,
            Radu. That produced the change I need, though I limited the
            selector to th[style] and td[style].<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:12.0pt">I’m assuming
            that CSS declarations are acceptable content for the ‘style’
            attribute based on the example in
            <a
href="https://jats.nlm.nih.gov/archiving/tag-library/1.2/attribute/style.html"
              moz-do-not-send="true" class="moz-txt-link-freetext">
https://jats.nlm.nih.gov/archiving/tag-library/1.2/attribute/style.html</a>:<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
            style="font-size:12.0pt;font-family:Courier"><tr><o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
            style="font-size:12.0pt;font-family:Courier"><td
            style="background: lightgrey"
            colspan="7">Preschool</td><o:p></o:p></span></p>
        <p class="MsoNormal" style="margin-left:.5in"><span
            style="font-size:12.0pt;font-family:Courier"></tr><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
        <div>
          <p class="MsoNormal"><span style="font-size:12.0pt">-- <o:p></o:p></span></p>
          <div>
            <p class="MsoNormal"><span style="font-size:12.0pt">Michael
                R. Boudreau<o:p></o:p></span></p>
            <p class="MsoNormal"><span style="font-size:12.0pt">Electronic
                Publishing Technology Manager<o:p></o:p></span></p>
            <p class="MsoNormal"><span style="font-size:12.0pt">The
                University of Chicago Press<o:p></o:p></span></p>
            <p class="MsoNormal"><span style="font-size:12.0pt">1427 E.
                60<sup>th</sup> Street<o:p></o:p></span></p>
            <p class="MsoNormal"><span style="font-size:12.0pt">Chicago,
                IL 60637<o:p></o:p></span></p>
            <p class="MsoNormal"><span style="font-size:12.0pt"><a class="moz-txt-link-abbreviated" href="http://www.journals.uchicago.edu">www.journals.uchicago.edu</a><o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
        <div style="border:none;border-top:solid #B5C4DF
          1.0pt;padding:3.0pt 0in 0in 0in">
          <p class="MsoNormal" style="margin-bottom:12.0pt"><b><span
                style="font-size:12.0pt;color:black">From:
              </span></b><span style="font-size:12.0pt;color:black">oXygen-user
              <a class="moz-txt-link-rfc2396E" href="mailto:oxygen-user-bounces@oxygenxml.com"><oxygen-user-bounces@oxygenxml.com></a> on behalf of
              Oxygen XML Editor Support (Radu Coravu)
              <a class="moz-txt-link-rfc2396E" href="mailto:support@oxygenxml.com"><support@oxygenxml.com></a><br>
              <b>Date: </b>Monday, October 17, 2022 at 12:22 AM<br>
              <b>To: </b><a class="moz-txt-link-abbreviated" href="mailto:oxygen-user@oxygenxml.com">oxygen-user@oxygenxml.com</a>
              <a class="moz-txt-link-rfc2396E" href="mailto:oxygen-user@oxygenxml.com"><oxygen-user@oxygenxml.com></a><br>
              <b>Subject: </b>Re: [oXygen-user] Table formatting: style
              attribute<o:p></o:p></span></p>
        </div>
        <p>Hi Michael,<o:p></o:p></p>
        <p>We (the Oxygen XML developers) are not very familiar with the
          JATS format.<o:p></o:p></p>
        <p>Oxygen uses CSS to render the JATS content in the Author
          visual editing mode. If for example you open the CSS
"OXYGEN_INSTALL_DIR/frameworks/jats/lib/author-css/authoring-extension.css"
          CSS and add this selector to it:<o:p></o:p></p>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal">*[style]{<br>
                -oxy-style:attr(style);<br>
            }<o:p></o:p></p>
        </blockquote>
        <p class="MsoNormal">then save your CSS and re-open your JATS
          file, Oxygen's visual editing should interpret the small CSS
          snippet value from any element which has a "style" attribute.<o:p></o:p></p>
        <p>But is this correct according to the standard?<o:p></o:p></p>
        <p><a
href="https://urldefense.com/v3/__https:/jats.nlm.nih.gov/archiving/tag-library/1.1d1/n-kkw2.html__;!!BpyFHLRN4TMTrA!5UqrygK3OTCVWUckqPixZjhgdhWr64We_KH3SmfdyV6hT0Iymy8clGtEVsrSv4uWqJbpsnY3eD-nYPKvVSl8mcSD$"
            moz-do-not-send="true">https://jats.nlm.nih.gov/archiving/tag-library/1.1d1/n-kkw2.html</a><o:p></o:p></p>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal">with many of the elements within a NISO
            JATS table(<a
href="https://urldefense.com/v3/__https:/jats.nlm.nih.gov/archiving/tag-library/1.1d1/n-by90.html__;!!BpyFHLRN4TMTrA!5UqrygK3OTCVWUckqPixZjhgdhWr64We_KH3SmfdyV6hT0Iymy8clGtEVsrSv4uWqJbpsnY3eD-nYPKvVdf-bzfM$"
              target="main" title="Table (NISO JATS table model)"
              moz-do-not-send="true"><span class="elementtag"><table></span></a>),
            records the name of the style to be applied to the element;
            <o:p></o:p></p>
        </blockquote>
        <p class="MsoNormal">The value of the @style attribute seems in
          the standard to indicate more a style name which should
          indicate the styling.<o:p></o:p></p>
        <p>Regards,<o:p></o:p></p>
        <p>Radu<o:p></o:p></p>
        <pre>Radu Coravu<o:p></o:p></pre>
        <pre>Oxygen XML Editor<o:p></o:p></pre>
        <div>
          <p class="MsoNormal">On 10/16/22 04:45, Michael Boudreau
            wrote:<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal"><span
              style="font-size:12.0pt;color:black">Is Oxygen supposed to
              heed the ‘style’ attribute on <th> and <td>
              elements in the JATS table model when it’s rendering
              tables? It doesn’t appear to be doing so.</span><o:p></o:p></p>
          <p class="MsoNormal"><span
              style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span
              style="font-size:12.0pt;color:black">I’m using Oxygen 25.0
              on macOS X 12.6. I’m creating tables using the JATS table
              model in a framework that uses CSS files copied from the
              JATSKit framework. When I add a style attribute like this—</span><o:p></o:p></p>
          <p class="MsoNormal"><span
              style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span
              style="font-family:Courier;color:#000096"><td</span><span
              style="font-family:Courier;color:#F5844C"> align</span><span
              style="font-family:Courier;color:#FF8040">=</span><span
              style="font-family:Courier;color:#993300">"center"</span><span
              style="font-family:Courier;color:#F5844C"> valign</span><span
              style="font-family:Courier;color:#FF8040">=</span><span
              style="font-family:Courier;color:#993300">"bottom"</span><span
              style="font-family:Courier;color:black"><br>
            </span><span style="font-family:Courier;color:#F5844C"> 
                style</span><span
              style="font-family:Courier;color:#FF8040">=</span><span
              style="font-family:Courier;color:#993300">"border-bottom:
              solid thin black; border-right: solid thin black"</span><span
              style="font-family:Courier;color:#000096">></span><span
              style="font-family:Courier;color:black">X</span><span
              style="font-family:Courier;color:#000096"></td></span><o:p></o:p></p>
          <p class="MsoNormal"><span
              style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span
              style="font-size:12.0pt;color:black">—the rules I hope to
              see on the cell don’t appear.</span><o:p></o:p></p>
          <p class="MsoNormal"><span
              style="font-size:12.0pt;color:black"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span
              style="font-size:12.0pt;color:black">(For background: I’m
              creating tables in the JATS model by converting tables
              from the OASIS model. In the OASIS model, the
              <entry> element has ‘colsep’ and ‘rowsep’ attributes
              to make a rule appear on the right or bottom edge of the
              table cell. Since there are no direct analogues of those
              attributes in the JATS model <th> and <td>
              elements, I’m using the ‘style’ attribute instead.)</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
          <div>
            <div>
              <p class="MsoNormal"><span style="font-size:12.0pt">-- </span><o:p></o:p></p>
            </div>
            <div>
              <p class="MsoNormal"><span style="font-size:12.0pt">Michael
                  R. Boudreau</span><o:p></o:p></p>
              <p class="MsoNormal"><span style="font-size:12.0pt">Electronic
                  Publishing Technology Manager</span><o:p></o:p></p>
              <p class="MsoNormal"><span style="font-size:12.0pt">The
                  University of Chicago Press</span><o:p></o:p></p>
              <p class="MsoNormal"><span style="font-size:12.0pt">1427
                  E. 60<sup>th</sup> Street</span><o:p></o:p></p>
              <p class="MsoNormal"><span style="font-size:12.0pt">Chicago,
                  IL 60637</span><o:p></o:p></p>
              <p class="MsoNormal"><span style="font-size:12.0pt"><a
                    href="http://www.journals.uchicago.edu"
                    moz-do-not-send="true"><span style="color:#0563C1">www.journals.uchicago.edu</span></a></span><o:p></o:p></p>
            </div>
          </div>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"><br>
            <br>
            <o:p></o:p></p>
          <pre>_______________________________________________<o:p></o:p></pre>
          <pre>oXygen-user mailing list<o:p></o:p></pre>
          <pre><a href="mailto:oXygen-user@oxygenxml.com" moz-do-not-send="true" class="moz-txt-link-freetext">oXygen-user@oxygenxml.com</a><o:p></o:p></pre>
          <pre><a href="https://urldefense.com/v3/__https:/www.oxygenxml.com/mailman/listinfo/oxygen-user__;!!BpyFHLRN4TMTrA!5UqrygK3OTCVWUckqPixZjhgdhWr64We_KH3SmfdyV6hT0Iymy8clGtEVsrSv4uWqJbpsnY3eD-nYPKvVV1SQ3yo$" moz-do-not-send="true">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a><o:p></o:p></pre>
        </blockquote>
        <pre><o:p> </o:p></pre>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">
</pre>
  </body>
</html>