Re: [xsl] summing preceding attribute values

Subject: Re: [xsl] summing preceding attribute values
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 11 Jan 2005 14:09:23 GMT
yes, the [@span] is not necessary but it does no harm.
sum(preceding-sibling::cell[@span]/ @span)
sum(preceding-sibling::cell/@span)
each sum all the span attributes of the preceding sibling elements with
name cell in no-namespace.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread