This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]