Hi Hussein,

Thanks again for the 'collapsed' colspec's for the display of tables -
it has made the editing of my docBook files a *lot* faster (much less
scrolling).

Since I have been looking at tables a lot lately, I thought it would be
useful / more intuitive to content editors for XXE to *display* the
tables in the following order:

colspec
thead
tbody
tfooter

In other words, display the table footer (tfooter) at the _bottom_ of
the table. This seems to me the most intuitive, user-centric way to
display tables:  head, body, and finally the footer.

However, the docBook DTD specifies the following content model for the
informaltable element:

informaltable ::=
(blockinfo?,
 ((textobject*,
   (graphic+|mediaobject+|tgroup+))|
  ((col*|colgroup*),
   thead?,tfoot?,
   (tbody+|tr+))))

In other words according to the DTD, the document order must be
colspec, thead, tfoot, tbody. Perhaps there is a good reason for this -
(anyone?) - but since the styled display exists to help *humans* edit
XML documents more easily, this human would prefer a more intuitive view
of the table.

I realize this may have other implications for the UI, but I think it
would be a useful enhancement.

Cheers,




Chris Johnson

Web Developer
Capilano College
North Vancouver, Canada

604.986.1911 ext. 3455
cjohnson at capcollege.bc.ca


Reply via email to