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.

..dan
---------------------------------------------------------------------------
Danny Vint
http://www.dvint.com

Author: "SGML at Work"  
http://www.slip.net/~dvint/pubs/sgmlatwork.shtml 
 mailto:dvint@usa.net
    
Received on Wednesday, 4 July 2001 08:34:41 GMT

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