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>">
<fo:list-item space-before="5mm">
<fo:list-item-label end-indent="label-end()">
<fo:block font-size="9.5px">
<xsl:number format="1."/>
</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block font-size="9.5px"
text-align="justify">
<xsl:apply-templates/>
</fo:block>
</fo:list-item-body>
</fo:list-item>
</xsl:if>
</xsl:template>
...
I think when entering the <xsl:template match="list/item"> and not executing
the <fo:list-item> the error appears, but how to avoid it? I tried to to it
in <xsl:template match="list"> bug it didn't work properly. In this case all
items have been excluded.
Cheers
Fireball
--
View this message in context:
http://www.nabble.com/%3Cfo%3Alist%3E-with-omitted-items-result-in-wrong-numbering-tf3939706.html#a11176046
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]