xsl-list
[Top] [All Lists]

Re: Traversing the tree

2005-09-09 14:15:19

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
________________________________________________________________________

--~------------------------------------------------------------------
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>