Re: [xsl] giving key() a context (changes between XSLT 1.0 and 2.0)

Subject: Re: [xsl] giving key() a context (changes between XSLT 1.0 and 2.0)
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 3 Sep 2004 10:01:39 +0100
 * is it true that the above ($biogs/key( ...)) really is illegal in
   XSLT 1.0?

yes

 * what restriction was relaxed to make this possible in XSLT 2.0?

Xpath2 allows a lot more stuff in steps than Xpath 1 essentially any
expression so not only key() is allowed after / but things like
/a/b/(c|d|e/f)

you could only have a node test after / in xpath1 not an arbitrary
expression

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
________________________________________________________________________

Current Thread