It's the same pattern.
xsl:template match=country
xsl:if test=position() mod 2 =1
fo:table-row
fo:table-cellfo:blockxsl:value-of select=cityInstal
//fo:block/fo:table-cell
fo:table-cellfo:blockxsl:value-of select=stateInstal
//fo:block/fo:table-cell
Thanks A Lot
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 5:08 PM
To: fop-users@xmlgraphics.apache.org
Subject: RE: RE: Guide me some extended data display
It's the same pattern.
xsl:template match=country
xsl:if test=position
From an efficiency point of view, wouldn't it be better to have a select
(that filters odd elements) in the xsl:apply-templates so that the second
template gets called 1/2 the total number of cityInstal?
If you did that, then you would have to make an empty template for the
complementary set
Your XSLT processor still has to examine each cityInstal element to select
only those that match the select statement. Without empirical testing we still
don't know which is more efficient (faster).
--
Charles Knell
[EMAIL PROTECTED] - email
-Original Message-
From: Cinzia [EMAIL