What I want is to count
so you need to use the count function!
max(../../row/*)
that would take the maximum vale of the contents (it works like sum()
works in xpath1)
you want
max(for $i in ../../row return count($i/*))
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. 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