W3C home > Mailing lists > Public > public-html@w3.org > August 2007

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

From: Репейный Вадим <html60@narod.ru>
Date: Mon, 27 Aug 2007 08:18:26 +0400
To: public-html@w3.org
Message-Id: <256811188188306@webmail11.yandex.ru>

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 Monday, 27 August 2007 04:18:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:04 GMT