[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: Keeping a running total?

Subject: Re: Re: Keeping a running total?
From: Steve <subsume@xxxxxxxxx>
Date: Tue, 11 Jul 2006 14:09:18 -0400
Re:  Re: Keeping a running total?
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...


   <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">

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.