Fireball29 wrote:

Hi!

If I omit one or more items from a normal <fo:list> with <fo:items>, the
numbering isn't affected. For example, if I omit item 2, the result is
1,3,4,5,6, ...

How am I able to avoid this?

XSL-FO isn't reponsible for generating the numbers, thats the responsibility of the XSLT process that generates the FO file. XSL-FO merely renders the values its given in the FO file.

Typical XSLT stylesheets use xsl:number to generate a number sequence into the output. A detail discussion of XSLT is a little off topic for this list. The mulberry list is the best place to ask XSLT questions:

http://xmlgraphics.apache.org/fop/maillist.html#xslt-mulberry

Of course, thats assuming that you are using XSLT to generate the XSL-FO. If you're not then its up to whatever process you use to create the XSL-FO to correctly compute the numbers in <fo:list-item-label>

Chris




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to