Well perhaps I've found a solution...it appears to be working
anyhow. Any
comments would be welcome.
I like it! Interesting way to form a group.
It might be slow for large source documents, maybe order(N*N)
where N is the number of ele elements (because for each element you
have to sum all preceding elements); but I can't see a way
around that... unless you want to recursively loop through the elements,
keeping a running total.
Lars
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list