W3C home > Mailing lists > Public > xsl-editors@w3.org > July to September 1999

Re: key and document()

From: James Clark <jjc@jclark.com>
Date: Sun, 29 Aug 1999 18:38:12 +0700
Message-ID: <37C91BA4.F94EBF6F@jclark.com>
To: Denys Duchier <Denys.Duchier@ps.uni-sb.de>
CC: xsl-list@mulberrytech.com, xsl-editors@w3.org
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
Received on Sunday, 29 August 1999 23:31:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:49 GMT