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

RE: Key error: the context item is undefined

Subject: RE: Key error: the context item is undefined
From: drkm <darkman_spam@xxxxxxxx>
Date: Mon, 12 Dec 2005 21:57:22 +0100 (CET)
RE:  Key error: the context item is undefined
Michael Kay wrote:

> I imagine you want to search within the document
> that contains the $obj node.

  You're right.

> In this case you can write

> <xsl:value-of select="foo:do.it(key('by.id', $obj/@idref,
> $obj/root()))"/>

> or if you prefer,

> <xsl:value-of select="foo:do.it($obj/key('by.id', @idref))"/>

  Thanks.  It's actually what I looked for. (I'm pretty sure I tried
this.  I suspect a missing dependency in my Makefile...)

  Regards,

--drkm





















	

	
		
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Tilichargez cette version sur http://fr.messenger.yahoo.com

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.