Re: [xsl] How to mark every 5th output record.

Subject: Re: [xsl] How to mark every 5th output record.
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Tue, 11 Mar 2008 16:01:11 +0100 (CET)
Patrick Bergeron wrote:

> As for your other suggestion... I will think about it. It
> would require significant rework to the 3K lines of code I
> already have. I currently don't use for-each, I use
> various forms of "template match" to process the records
> as they are encountered in the input stream.

  At first glance (but it is hard to tell without seeing the
architecture of your transformation,) I would say that
passing a parameter through recursion (either direct or
indirect, by calling or applying templates) is what will
require less architectural changes.  There can be more
simple solutions though, but going this way you have great
chances to be able to solve the problem.

  XSLT 2.0 offers you more ways, simplest ways to tackle the
problem.

  Regards,

--drkm
























      _____________________________________________________________________________ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr

Current Thread