This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
XHTML tables; examples
- From: Tobias Reif <tobiasreif at pinkjuice dot com>
- To: docbook at lists dot oasis-open dot org
- Date: Wed, 19 Mar 2003 12:27:42 +0100
- Subject: XHTML tables; examples
Hi
is this what it could look like?
<section>
<title>Languages</title>
<table
summary="This table charts some programming languages,
and lists their notation, main paradigm, notation, and domain.">
<caption>My favourite programming languages.</caption>
<tr>
<th scope="col">Name</th>
<th scope="col">Paradigm</th>
<th scope="col">Notation/Syntax</th>
<th scope="col">Domain</th>
<th scope="col">Why?</th>
</tr>
<tr>
<td scope="row">Ruby</td>
<td>object-oriented</td>
<td>inspired by
Eiffel and Ada</td>
<td>general programming</td>
<td>beautiful, fun, magic</td>
</tr>
<tr>
<td scope="row">XSLT</td>
<td>declarative</td>
<td>XML</td>
<td>XML transformation</td>
<td>works very well</td>
</tr>
<tr>
<td scope="row">PHP</td>
<td>Procedural</td>
<td>some call it "C-like"</td>
<td>serverside</td>
<td>when there's no Ruby</td>
</tr>
</table>
</section>
DocBook markup would probably be allowed inside td elements?
Would there be something like type="xhtml" on the table element?
Tobi
--
http://www.pinkjuice.com/