Page 1 of 1

Adding sequential numbers to table rows

Posted: Tue Jan 31, 2017 7:07 am
by SathyaOX
Is there any option to add sequential numbers to rows in a defined pattern?

Re: Adding sequential numbers to table rows

Posted: Tue Jan 31, 2017 9:25 am
by Radu
Hi,

Is this for publishing or for editing? Do you want the numbers to actually be there in the XML? Or do you want the sequence of numbers only to appear in the published table? Having the numbers actually in the XML content does not seem like a good idea to me. For each line you add in the middle of the table you would need to manually change the number for each subsequent row. So if you choose this variant Oxygen does not have an automated way to re-number rows, we have lots of Java-based API which would allow you to build extensions for this.

If you want the rows numbered only in the publishing stage, then you probably need to customize the XSLT stylesheets which produce the output in order to output an extra column for each generated table, column containing numbers.

Regards,
Radu

Re: Adding sequential numbers to table rows

Posted: Fri Feb 03, 2017 10:09 am
by SathyaOX
Thanks so much Radu.