xsl-list
[Top] [All Lists]

Re: [xsl] loop timing and result-document flush

2007-05-02 07:45:07
Abel Braaksma wrote:


Here's a solution that I normally use. Take all URIs that you want to write to, pack them in a sequence and deduplicate them (use the function distinct-values or similar) and go from there (if possible) or, if you can't, you can use a micro-pipeline. I.e., the first transforms and changes the input and adds _1, _2 etc to the names

depending on your input structure, you may not need a 'micro pipeline', just 'position()' or similar my suffice. The first approach is easier to do the way David just explained with xsl:for-each-group.

--~------------------------------------------------------------------
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>
--~--