mathematical formulas and "where" clauses

13 views
Skip to first unread message

Jim Mangiafico

unread,
Jan 21, 2020, 4:41:53 PM1/21/20
to akomantoso-xml
Hello all,

I would be grateful for any thoughts about marking up formulas that have accompanying "where" clauses, such as can be found in Section 81(4) of the Social Security (Scotland) Act 2018. See http://www.legislation.gov.uk/asp/2018/9/section/81.

All ideas would be appreciated, but I'm particularly interested in the larger structural questions. Specifically, it has been suggested to me that this provision could be modeled with two or three levels of hcontainers within Subsection 4, all the way down to and including the (a) and (b) of the first where clause. That doesn't feel right to me. I'm inclined to give Subsection 4 its own <content> and represent everything inside it with a block or block container. But I'd love to hear your thoughts.

Regards,Jim

PS. My instincts are to do something roughly like the following:

<subsection eId="section-81-4">
   <num>(4)</num>
   <content>
      <p>The amount of a carer's allowance supplement is to be calculated according to the following formula—</p>
      <tblock uk:name="formula">
         <foreign>
            <math xmlns="http://www.w3.org/1998/Math/MathML"></math>
         </foreign>
         <tblock uk:name="where">
            <p>where—</p>
            <blockList>
               <item class="whereClause">
                  <p>JSA is whichever is the higher of—</p>
                  <blockList>
                     <item>
                        <num>(a)</num>
                        <p>the weekly amount ...</p>
                     </item>
                     <item>
                        <num>(b)</num>
                        <p>that amount as ...</p>
                     </item>
                  </blockList>
               </item>
               <item class="whereClause">
                  <p>CA is the weekly rate ...</p>
               </item>
            </blockList>
         </tblock>
      </tblock>
   </content>
</subsection>

Reply all
Reply to author
Forward
0 new messages