[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: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Tue, 11 Jul 2006 11:55:50 -0700
dimitre novatchev
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.