OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


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/



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]