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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: Table Row Counting


I'd like to create a table in which the first column is a sequential 
number to indicate the item number.  For example:

<table><title>Software List</title>
<tgroup cols="3">
    <colspec colname="1" align="center" colwidth="3pc"/>
    <colspec colname="2" align="left" colwidth="25pc"/>
    <colspec colname="3" align="left" colwidth="10pc"/>
    <thead>
        <row>
            <entry align="center">Item #</entry>
            <entry align="center">Software Program</entry>
            <entry align="center">Version</entry>
        </row>
    </thead>
    <tbody>
        <row>
            <entry>1</entry>
            <entry>Windows</entry>
            <entry>XP</entry>
        </row>
    </tbody>
</tgroup>
</table>

Instead of manually entering the item number in the first column, I'd 
like to be able to have that generated during conversion so that it 
stays accurate as I add and remove items.  What is a good method to 
accomplish this?

Thanks,
Dave




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