xsl-list
[Top] [All Lists]

Re: How to set nodeset to variable

2003-01-14 10:23:53
Stop Tom, that's wrong. $external_files_nodeset is not defined at this point. And you would try to re-set the param.

<xsl:param name="external_files_nodeset"/> is enough.

You only can add a default value like empty nodeset or something similar:
<xsl:param name="external_files_nodeset" select="/.."/>

Regards,

Joerg

Passin, Tom wrote:
[ Alice Fan]

I am passing a nodeset to my xsl. How do I set my variable in xsl to a nodeset.?

like this?

<xsl:param name="external_files_nodeset" select="nodeset($external_files_nodeset)"/>


If it is really a node set and not a string, then

select='$external_files_nodeset'

Cheers,

Tom P


--

System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
joerg(_dot_)heinicke(_at_)virbus(_dot_)de
www.virbus.de


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>