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

Working with keys

From: Danny Vint <dvint@mindspring.com>
Date: Tue, 3 Jul 2001 17:01:17 -0400 (EDT)
Message-Id: <4.1.20010703135905.028b9a00@pop.mindspring.com>
To: xsl-editors@w3.org
Sure would be nice to be able to use keys when you don't have a particular
value to match against them in a for-each. It would be nice for debugging
and potentially other uses to do something like:

<xsl:for-each select="key('foo', '*')
	<xsl:value-of select="."/>

so you might get the actual text string of everything that was indexed,
potentially sort a very complex key, or who knows what.

Danny Vint

Author: "SGML at Work"  
Received on Wednesday, 4 July 2001 08:34:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:21 UTC