On Jan 26, 2006, at 19:39, Fabrizio Caldas wrote:
Hi all,
As a very powerful alternative, you can also use xsl:number for this:
<xsl:template match="recommendItems">
<fo:list-block provisional-label-separation="0.5cm"
provisional-distance-between-starts="1cm" space-after="12pt"
start-indent="1cm">
<xsl:for-each select="recommendItem">
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block><xsl:number value="position()" format="1. "/></
fo:block>
In this case perhaps not much of a difference, but it definitely has
very much more niceties to offer, like 'multiple' or 'any' level
numbering, different formats (01, A, a, i, I)...
Just a thought.
HTH!
Cheers,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]