Subject: Re: Need StringBuffer equivalent in xslt
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Wed, 29 Sep 2010 15:05:17 +0100
|
If you want two separate results you simply process the input twice.
Sometimes of course this means repeating work. Sometimes the optimizer
can eliminate the repeated work for you; sometimes you can eliminate it
yourself by using variables to hold the intermediate results of a
computation. Taken further, this leads to pipeline architecture in which
you put your data through a series of transformation steps composed in
series or in parallel.
Michael Kay
Saxonica
|