Close this window

Using the <entrytbl> tag

Description The entrytbl tag takes the place of an entry, but fits into a single row of tbody in a tgroup. The content model is the same as that of a tgroup except that tfoot is ommitted and entrytbl is self-excluding.
Example
This CNXML:
<table id="periodic_table">
  <tgroup cols="2">
    <tbody>
      <row>
	<entrytbl cols="2">
	  <colspec colnum="1" colname="hyd1"/>
	  <colspec colnum="2" colname="hyd2"/>
	  <thead>
	    <row>
	      <entry namest="hyd1" nameend="hdy2">
		Hydrogen
	      </entry>
	    </row>
	  </thead>
	  <tbody>
	    <row>
	      <entry>Atomic Number:</entry>
	      <entry>1</entry>
	    </row>
	    <row>
	      <entry>Atomic Symbol:</entry>
	      <entry>H</entry>
	    </row>
	    <row>
	      <entry>Atomic Weight:</entry>
	      <entry>1.0079</entry>
	    </row>
	    <row>
	      <entry>Atomic Radius:</entry>
	      <entry>78 pm</entry>
	    </row>
	    <row>
	      <entry>Melting Point:</entry>
	      <entry>-259.34 C</entry>
	    </row>
	    <row>
	      <entry>Boiling Point:</entry>
	      <entry>-252.87 C</entry>
	    </row>
	  </tbody>
	</entrytbl>
      </row>
      <row>
	<entrytbl cols="2">
	  <colspec colnum="1" colname="lit1"/>
	  <colspec colnum="2" colname="lit2"/>
	  <thead>
	    <row>
	      <entry namest="lit1" nameend="lit2">
		Lithium
	      </entry>
	    </row>
	  </thead>
	  <tbody>
	    <row>
	      <entry>Atomic Number:</entry>
	      <entry>3</entry>
	    </row>
	    <row>
	      <entry>Atomic Symbol:</entry>
	      <entry>Li</entry>
	    </row>
	    <row>
	      <entry>Atomic Weight:</entry>
	      <entry>6.941</entry>
	    </row>
	    <row>
	      <entry>Atomic Radius:</entry>
	      <entry>152 pm</entry>
	    </row>
	    <row>
	      <entry>Melting Point:</entry>
	      <entry>108.5 C</entry>
	    </row>
	    <row>
	      <entry>Boiling Point:</entry>
	      <entry>1342 C</entry>
	    </row>
	  </tbody>
	</entrytbl>
      </row>
    </tbody>
  </tgroup>
</table>
	
Results in this display:
Hydrogen
Atomic Number: 1
Atomic Symbol: H
Atomic Weight: 1.0079
Atomic Radius: 78 pm
Melting Point: -259.34 C
Boiling Point: -252.87 C
Lithium
Atomic Number: 3
Atomic Symbol: Li
Atomic Weight: 6.941
Atomic Radius: 152 pm
Melting Point: 108.5 C
Boiling Point: 1342 C
Attributes (what's this?)
Children (what's this?)colspec (zero or more), spanspec (zero or more), thead (zero or one), tbody (one)
Parents (what's this?)row
Close this window