RE: [xsl] How to set nodeset to variable

Subject: RE: [xsl] How to set nodeset to variable
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Tue, 14 Jan 2003 13:36:53 -0500
[ Joerg Heinicke]
> 
> 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.
> 

Whoops, you are right as usual.  I misread the code fragment as setting
a variable equal to that parameter - since it talked about setting a
variable ("How do I set my variable in xsl to a 
nodeset.?"), but I overlooked that the fragment in the post started with
xsl:param instead of xsl:variable.

Sorry for being misleading and thanks, Joerg,  for catching it.  As
Joerg says, the parameter  is available to the stylesheet by virtue of
being passed in and can be used like any other global parameter.

Cheers,

Tom P

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


Current Thread