Re: fo:list with omitted items result in wrong numbering

2007-06-23 Thread Andreas L Delmelle
On Jun 19, 2007, at 09:23, Fireball29 wrote: Thank you, good idea, but none of them worked for me, the result is the same. Here is the code: Saw this one still open... If you haven't found a solution yet, try making it: xsl:number value=position() format=1. / in the matching template for

Re: fo:list with omitted items result in wrong numbering

2007-06-19 Thread Wilhelmsen Tor Iver
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? My guess (since you did not supply the code) is that your XSL has an if-test within the xsl:template or

Re: fo:list with omitted items result in wrong numbering

2007-06-19 Thread Fireball29
Thank you, good idea, but none of them worked for me, the result is the same. Here is the code: xsl:template match=list fo:list-block provisional-distance-between-starts=15mm provisional-label-separation=5mm xsl:apply-templates select=[EMAIL

fo:list with omitted items result in wrong numbering

2007-06-18 Thread Fireball29
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? Any ideas? Thanks in advance, Fireball -- View this message in context:

Re: fo:list with omitted items result in wrong numbering

2007-06-18 Thread Chris Bowditch
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

Re: fo:list with omitted items result in wrong numbering

2007-06-18 Thread Fireball29
Well, i usw XSLT, and this is a part of the xsl file. Any clue what is wrong here? ... xsl:template match=list xsl:apply-templates/ /xsl:template xsl:template match=list/item xsl:if test=exclude for example item with number 2