xsl-list
[Top] [All Lists]

Re: summing preceding attribute values

2005-01-11 07:09:23

yes, the [(_at_)span] is not necessary but it does no harm.
sum(preceding-sibling::cell[(_at_)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
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>