Seems I don´t understand how to do this anyway...
If I simply create a node set in a variable and pass it to my XSL using addParameter in vbscript, and catch it inside XSL with xsl:param, then I cannot extract the different file names since the node set now seems to be treated as any text string inside XSL?
If I do:
<xsl:value-of select="$filesXML" />
I get:
<file_name>file1.doc</file_name><file_name>file2.doc</file_name>
And if I try:
<xsl:value-of select="$filesXML/file_name[1]" />
Or other ways to try to get node values, I get the error:
msxml4.dll error '80004005'
Reference to variable or parameter 'filesXML' must evaluate to a node list.
I´ve spent hours googling around for pointers, but I simply cannot get this to work.
I´ve tried using 'msxsl:node-set' as well, but without any luck :(
Any pointers? I´m tearing my hair out over this one (soon going bald...).