Hi Jon > -----Message d'origine----- > De : Jon Steeves [mailto:[EMAIL PROTECTED] > <fo:table-cell> > <fo:block> > <xsl:apply-templates select="item"/> > </fo:block> > </fo:table-cell> > <fo:table-cell> > <fo:block> > <xsl:value-of select="following-sibling::item[1]"/> Here you can use this enstead <xsl:apply-templates select="following-sibling::item[1]" mode="first_sibling"/>
> </fo:block> > </fo:table-cell> > <fo:table-cell> > <fo:block> > <xsl:value-of select="following-sibling::item[2]"/> And here you can use this enstead <xsl:apply-templates select="following-sibling::item[1]" mode="second_sibling"/> > </fo:block> > </fo:table-cell> > </fo:table-row> > <xsl:template match="following-sibling::item[1]"> > <xsl:apply-templates/> > </xsl:template> Your templates should be: <xsl:template match="item" mode="first_sibling"> ... </xsl:template> <xsl:template match="item" mode="second_sibling"> ... </xsl:template> Hope this helps you Pascal --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
