OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: CALS table attribute inheritance questions


Hello, I have some questions about inheritance issues for attributes in
CALS tables that aren't very clear to me from the spec I've been using
(http://www.oasis-open.org/specs/a502.htm) or other sources I have seen on
the 'net.  Let's say I have the following table:

<table>
  <tgroup align="center" cols="3">
    <colspec colname="c1" colsep="0" />
    <colspec colname="c2" align="right" />
    <colspec colname="c3" align="right" />
    <tbody>
      <row rowsep="0">
        <entrytbl cols="2" colname="c1">
          <tbody>
            <row>
              <entry> A.1 </entry>
              <entry> A.2 </entry>
            </row>
            <row>
              <entry> A.3 </entry>
              <entry> A.4 </entry>
            </row>
          </tbody>
        </entrytbl>
        <entry colname="c2"> B </entry>
        <entry> C </entry>
      </row>
    </tbody>
  </tgroup>
</table>

My first question is whether the "A.x" entries will inherit the rowsep="0"
(from their <row> ancestor), the colsep="0" (from the <colspec> referenced
in the <entrytbl>), and the align="center" (from their <tgroup> ancestor)?
In other words, do such attributes "reset" at the <entrytbl> level, or do
they continue being inherited all the way up?  If they "reset", would the
"A.x" entries inherit any attributes defined in the <table>?

My second question is whether the content in the "C" entry aligns to the
right, as defined by the third <colspec>, even though its <entry> doesn't
reference the third <colspec> via a colname attribute (as was done in the
"B" entry with the second <colspec>)?

I would really appreciate any clarification on these issues.  Thanks!

Max

Maxwell M. Starkenburg
http://cnx.rice.edu


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]