This XSLT:

```
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:param name="paramvalue" />
  <xsl:key name="test" match="$paramvalue" use="generate-id()" />

  <!-- template rules -->
</xsl:stylesheet>

```

Fails because you can't seem to have a parameter value in the `match` attribute of an `xsl:key`. Is there any way to do this other than modifying the xslt on the fly?