You could use
as="document-node()"
if you want to use an "as" attribute to type annotate the variable.
I don't think keys work with sequences, you need a root node.
Typing it as document-node() does not work. I am happy to leave it
untyped as it works mind.
You will need to add xsl:document:
<xsl:variable .. as="document-node()">
<xsl:document>
<lookup
--
Andrew Welch
http://andrewjwelch.com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--