Re: [xsl] Grouping data at multiple levels (can XSL do this?)

Subject: Re: [xsl] Grouping data at multiple levels (can XSL do this?)
From: Peter Flynn <pflynn@xxxxxx>
Date: Tue, 28 Jun 2011 22:48:01 +0200
On 28/06/11 20:47, Hank Ratzesberger wrote:
Hello,

I'm writing to this list for the first time because after using
XSL for some years I've come across a data pattern that I think
defies use by XSL. It is the kind of thing that a language that
allows you to alter/update variables and iterate through lists
can do with relative ease, but I don't find it possible with
XSL. It is an example of hierarchical meaning within flat
data, that is, there are groups of rows of data, but some
groups represent updates to information in prior groups.

Without knowing more about the architecture of the data and the application it's hard to be concrete, but I get the impression that this is not a dissimilar concept to the nest of vipers that is OOXML.


A solution possibly involves an XPath expression with more predicates which have predicates which have predicates which have predicates than you may care to contemplate, but is essentially soluble.

Whether it will execute in an acceptable timescale and within the bounds of available memory is a different matter :-)

///Peter

Current Thread