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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--