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