Re: [xsl] Calculating cumulative values - another call for help

Subject: Re: [xsl] Calculating cumulative values - another call for help
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Wed, 29 Aug 2007 12:52:11 +0200 (CEST)
christoph.naber@xxxxxxxxxxxxxxxxxxx write:

  Hi

> What do you mean with "do two passes"?

  Something that permit both XSLT 2.0 or exsl:node-set()
is micro-pipelining.  You can process your document to get
another one, then process this new document to get yet
another one.

  In some problems, that give you the ability to tackle one
aspect of the problem at a time.

  For instance, a pattern that proven usefullness in a quite
complex set of transforms I had to write was a two-passes
micro-pipeline where the first pass was a Modified Identity
Transform, that canonicalised some stuff, resolved some
default values, in one word that made the input document far
more simple to process, by acting at a quite local level.
The second step used this more hommogeneous and simple
document and formated it to the final result (actually, that
was only an intermediate result, still more or less at the
semantic level, and a third and final step formated it to
XSL-FO).

  Regards,

--drkm























      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

Current Thread