<table><tside>: displaying of table 3x100 of DBMS as table 10x10

DT> <table>
DT> <thead>
DT> <th id=101>H</th>
DT> <th id=52> H</th>
DT> </thead>
DT> <tside>
DT> <th id=11> h</th>
DT> <th id=72> h</th> 
DT> </tside>
DT> <tbody>
DT> <td row=11 col=101>c</td>
DT> <td row=11 col=52> c</td>
DT> <td row=72 col=101>c</td>
DT> </tbody>
DT> </table>

Let's make html-code to be more join-able with database,
i.e. let's abolish construction above and let's use
<a a1= a2= a3= >,
<b b1= b2= b3= >,
<z z1= z2= z3= >,
where
'A, a1, a2, a3';
'B, b1, b2, b3';
'Z, z1, z2, z3'
are arbitrary names.

<table> 
<thead>
  <a a1= a2= >
  <a a1= a2= >
  ...
</thead>
<tside>
  <b b1= b2= >
  <b b1= b2= >
  ...
</tside>
<tbody>
  <z z1= z2= z3= >
  <z z1= z2= z3= >
  ...
</tbody>
</table>

CSS is so:

thead {
  pk:      §a1;
  attract: §z1;
  content: §a2;
}
tside {
  pk:      §b1;
  attract: §z2;
  content: §b2;
}
tbody {
  content: §z3;
}

DT> <cost row="11" col="52"  v="80">
DT> <cost row="43" col="101" v="110">

Browser sends:

<formdata>
  <cost person="11" goods="52"  many="80">
  <cost person="43" goods="101" many="110">
</formdata>


Summary of details is in
  http://html60.chat.ru/site/html60/en/author/tabfile_eng.htm

  (whole project is public domain)


Dmitry Turin
HTML6     (6.4.0)  http://html60.chat.ru

SQL4      (4.2.0)  http://sql40.chat.ru

Unicode2  (2.0.1)  http://unicode2.chat.ru

Computer2 (2.0.3)  http://computer20.chat.ru

Received on Sunday, 26 August 2007 05:20:55 UTC