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] | [Elist Home]


Subject: DOCBOOK: Re: example of Element <tgroup> with it's attribute cols .


/ Chuck Amadi <chuck.amadi@breconbeacons.org> was heard to say:
| How do i get this bugger to work (cols attribute ) I mean I have a
| table with three columns and three rows using the

The table you provided is invalid in about six different ways. Always use
a validating parser to check your work before feeding it to the stylesheets.
GIGO applies.

Try this:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
                  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";>
<article id="article">
<title>Table Test</title>

<itemizedlist>
<listitem>
<para>ndw: do you really want this table in a list item?</para>
<table>
<title>ndw: You have to put a title in here</title>
<!-- attribute center doesn't work --> <!-- ndw: in what implementation? -->
<tgroup align="center" cols="3">
<tbody>
<row>
<entry>first column</entry>
<entry>second column</entry>
<entry>third column</entry>
</row>
<row>
<entry>
<!-- This link doesn't work within this table only the watsup text -->
<!-- ndw: i bet it works now, with more reasonable looking table entry markup -->
<ulink url="http://watsupwiththis.htm";>watsup </ulink>
</entry>
</row>
</tbody>
</tgroup>
</table>
</listitem>
</itemizedlist>

</article>


                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | 'tis expressly against the law of
http://www.oasis-open.org/docbook/ | arms: 'tis as arrant a piece of
Chair, DocBook Technical Committee | knavery, mark you now, as can be
                                   | offer't; in your conscience, now,
                                   | is it not?--Fluellen, Henry V


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


Powered by eList eXpress LLC