xsl-list
[Top] [All Lists]

RE: How to set nodeset to variable

2003-01-14 11:36:53
[ 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



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