Subject: Re: [xsl] Re: Keeping a running total? From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx> Date: Tue, 11 Jul 2006 11:55:50 -0700 |
On 7/11/06, andrew welch <andrew.j.welch@xxxxxxxxx> wrote: > <xsl:when test="count(preceding-sibling::factory/@widget) > $limit">
Seems like this only if the prior one had exceeded the quota.
> Failing that, come up with a concise input XML and give an example of > the required output XML. Your original question was a bit wordy...
Um...sure...
<xml> <factory x="A" capacity="2"> <factory x="B" capacity="1"> <factory x="C" capacity="2"> <factory x="D" capacity="1"> <factory x="E" capacity="2"> </xml>
-- Cheers, Dimitre Novatchev --------------------------------------- Truly great madness cannot be achieved without significant intelligence.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Re: Keeping a running tot, Steve | Thread | Re: [xsl] Re: Keeping a running tot, Andrew Franz |
[xsl] Keeping a running total? (Red, Steve | Date | Re: [xsl] Keeping a running total? , Dimitre Novatchev |
Month |