node-set xsh:lookup(string VARNAME, string KEY)
This function is similar to XSLT key() function. It returns a node-set stored in a hash VARNAME under the key KEY. The VARNAME must be a name of a lexical or global XSH variable containing a Perl hash reference.
key()
hash