Andrew,
Thanks, I will. I'll also take a look at Abel's solution.
Simon
-----Original Message-----
From: Andrew Welch [mailto:andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com]
Sent: August 30, 2007 9:51 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Calculating cumulative values - another call for help
On 8/30/07, Simon Shutter <simon(_at_)schemax(_dot_)com> wrote:
Sorry - I should have been more clear. Could one use something like
count(ancestor::set) instead?
Probably not the thing to use... but its hard to suggest what to do instead
just from that sentence....
Just changing "n" to "3" is enough to make it work with your sample input -
if you're suggesting that set/@id isn't like it is in your sample and you're
having problems adapting the transform to work with your actual input then
post a more representative sample.
--
http://andrewjwelch.com
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--