Spanning entries in a

Email lists > Docbook help

List Info

Thread: Spanning entries in a




Spanning entries in a <table>
user name
2007-09-03 19:36:46
Hi,

The <entry> tag has the ability to span rows
(<entry morerows='xx'>), but
from what I can see it can't spam columns (like HTML's
<td colspan='xx'>).

Is it possible and I'm just not seeing the attribute in the
online tag
reference?

Stuart J. Browne


------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-helplists.oasis-open.org


Re: Spanning entries in a <table>
user name
2007-09-04 03:03:45
"Stuart J. Browne" <sjbrownebluebottle.com>, 2007-09-04 10:36 +1000:

> The <entry> tag has the ability to span rows
(<entry morerows='xx'>), but
> from what I can see it can't spam columns (like HTML's
<td colspan='xx'>).
> 
> Is it possible and I'm just not seeing the attribute in
the online tag
> reference?

First off, note that current versions of DocBook support use
of
HTML tables (not just CALS tables). So you if use an HTML
table
within your source, the DocBook stylesheets will process it
as
expected.

But if you prefer to use CALS table markup, take a look at
the
following example:

  http://www.docbook.org/tdg/en/html/table.html#d0e201309

To markup up cells that span columns, you need to use the
colspec
element and the attributes namest and nameend on the entry
itself:

   <entry namest="c1" nameend="c2"
align="center">Horizontal Span</entry>

But if you're already familiar with HTML table markup,
you're
probably better off just using that. There are no real
advantages
to using CALS table markup.

  --Mike

-- 
Michael(tm) Smith
http://people.w3.org/mike/

http://sideshowbarker.net/

RE: Spanning entries in a <table>
user name
2007-09-04 18:36:22
>   http://www.docbook.org/tdg/en/html/table.html#d0e201309
> 
> To markup up cells that span columns, you need to use
the colspec
> element and the attributes namest and nameend on the
entry itself:
> 
>    <entry namest="c1"
nameend="c2"
align="center">Horizontal 
> Span</entry>
> 

Ah, right!  Now those namest/nameend attributes make sense!

Thanks.

Stuart


------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-helplists.oasis-open.org


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )

Mailing lists

Newsgroups

RFC archive