Re: [xsl] Getting variable yet most immediate parentNode

Subject: Re: [xsl] Getting variable yet most immediate parentNode
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 28 Sep 2007 18:40:33 +0100
> But when this list of options gets longer, it might be better to add 
> normal template matching and make the precedence explicit:

yes the main reason in xslt 1 for doing trick xpath predicates
like this is for use in xsl:sort where the restrictions of the language
mean that you have to pack all the code into a single xpath. there's no
point doing it in a value-of in real code.

David


________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Current Thread