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

Re: key and document()

Subject: Re: key and document()
From: James Clark <jjc@xxxxxxxxxx>
Date: Sun, 29 Aug 1999 18:38:12 +0700
Re: key and document()
Denys Duchier wrote:

> My proposal of the day (:-) is to allow a 3rd optional argument to
> key() to permit specification of a context node (or node set of
> context nodes).  Thus key($name,$key,E) would mean the union of
> evaluating key($name,$key) for each node in the node set denoted by
> expression E.  Naturally, if E is omitted, it would default to
> "current()".

This is a reasonable suggestion. The same thing would work for id() as
well, and is what is hinted at by "an easier way to get an ID in another
document" in the "Features under Consideration for Future Versions of
XSLT" appendix.

James



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.