[Home] [By Thread] [By Date] [Recent Entries]
Have you considered abandoning the Muenchian approach and using the
variable approach?
The Muenchian method works easily across the entire file, and as you say requires more convoluted values to work with subsets of the file. And it doesn't work when using a population of items across multiple files. But the variable method works for all cases: a subset of a file, an entire files and multiple files (though I never use it when the context is an entire file). Over the years I've posted to this list a number of examples of grouping subsets of an instance by putting the population being grouped into a variable and then acting on the members found in that variable: http://www.biglist.com/lists/xsl-list/archives/200401/msg00070.html http://www.biglist.com/lists/xsl-list/archives/200401/msg00342.html http://www.biglist.com/lists/xsl-list/archives/200501/msg00548.html http://www.biglist.com/lists/lists.mulberrytech.com/xsl-list/archives/200902/msg00303.html http://www.oxygenxml.com/archives/xsl-list/201104/msg00235.html I hope this helps. . . . . . . . . . Ken At 2011-09-06 18:21 +0000, thehulk@xxxxxxxxxxx wrote: The problem is, I don't want to add up charges for the entire file. The file has many accounts. I want to to add up charges by type within each account. -- Contact us for world-wide XML consulting and instructor-led training Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Google+ profile: https://plus.google.com/116832879756988317389/about Legal business disclaimers: http://www.CraneSoftwrights.com/legal
|

Cart



