Re: [xsl] Traversing the tree

Subject: Re: [xsl] Traversing the tree
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 9 Sep 2005 22:15:19 +0100
standard xslt1 can't define xpath functions so in xslt1 you couldn't use
a single path if you can't use an off the shelf function. So you'd need
to do a recursive template call more or less like the first solution you
were shown.

In XSLT2 you can define xpath functions with xsl:function which you
could then call just as you call sum.

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