[xsl] Muenchian troubles - only getting first group - I have my answer

Subject: [xsl] Muenchian troubles - only getting first group - I have my answer
From: thehulk@xxxxxxxxxxx
Date: Tue, 6 Sep 2011 18:21:58 +0000 (UTC)
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. 

Many apologies if you wasted time on my previous post. When I simplified the 20 MByte of XML data, I eliminated the cause of the difficulty. (One might think of it as a training exercise, in XSL, or perhaps, anger management).

The addition was good, restricted to the proper charges within the same account. 

But because there is just one keymap, and many accounts have the same types of charges, each type of charge will appear in only one of the accounts - all the other charges of that type are not #1   ,  that is:  [1]   . 

I think the solution is to complicate the calculation of the keymap, by concatenating an identifier of the Account to the use="@TransTypeName" clause. Not yet tested.

Current Thread