title: Walk/loop through an XSL key: how?
body: <p>Is there a way to walk-through a key and output all the values it contains?</p>
  
  <pre><code>   &lt;xsl:key name="kElement" match="Element/Element[@idref]" use="@idref" /&gt;
  </code></pre>
  
  <p>I though of it this way:</p>
  
  <pre><code>&lt;xsl:for-each select="key('kElement', '.')"&gt;
    &lt;li&gt;&lt;xsl:value-of select="." /&gt;&lt;/li&gt;
  &lt;/xsl:for-each&gt;
  </code></pre>
  
  <p>However, this does not work. I simply want to list all the values in a key for testing purposes.</p>
  
  <p>The question is simply: how can this be done?</p>