Re: [xsl] Re: Keeping a running total?

Subject: Re: [xsl] Re: Keeping a running total?
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Tue, 11 Jul 2006 11:55:50 -0700
So where is the "name" attribute referred to from the post opening this thread?


On 7/11/06, Steve <subsume@xxxxxxxxx> wrote:
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