> 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 xsl:for-each you use to "loop" over
the list items, and use position() or xsl:number on the element type you
select for the fo:item entries.

The solution is to restrict the items under consideration in the select
of the xsl:template/xsl:for-each (and xsl:number if you use that). E.g.
if you use

<xsl:template match="list-item">
  <xsl:if test="@foo='x'">
    <fo:list-item>...

instead use

<xsl:template match="[EMAIL PROTECTED]'x']">
  <fo:list-item>...

Or use it when you call the template:

<xsl:apply-templates select="[EMAIL PROTECTED]'x']" />

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

Reply via email to