[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Cannot select a node here: the context item is

Subject: Re: Cannot select a node here: the context item is undefined
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 5 Apr 2005 23:01:00 +0100
context item is undefined
>>>>>   <xsl:when test="key('word-group-by-word',substring($word,1, 
$length-of-word - 2))"> <<<<<<<<<<<<<<<<<<
                                <xsl:sequence select="substring($word,1, 

key() with 2 arguments looks things up in the current document which
means it needs to know what the current node is. If you haven't got a
current node (which you haven't initially in the body of xsl:function) then...

You could do the xsl 1 thing and 
to get yourself back in sysnc,  or in xslt2 you can go

when test="select="$a-variable-holding-any-node-in-the-document-to-be-searched/key(....


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:

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.