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

RE: Calculating cumulative values - another call for h

Subject: RE: Calculating cumulative values - another call for help
From: "Simon Shutter" <simon@xxxxxxxxxxx>
Date: Thu, 30 Aug 2007 09:59:03 -0700
RE:  Calculating cumulative values - another call for h
Andrew,

Thanks, I will.  I'll also take a look at Abel's solution.

Simon

-----Original Message-----
From: Andrew Welch [mailto:andrew.j.welch@xxxxxxxxx] 
Sent: August 30, 2007 9:51 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Calculating cumulative values - another call for help

On 8/30/07, Simon Shutter <simon@xxxxxxxxxxx> 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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

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-2007 All Rights Reserved.