RE: [xsl] How to set nodeset to variable

Subject: RE: [xsl] How to set nodeset to variable
From: "Alice Fan" <arisuu@xxxxxxxxxxx>
Date: Tue, 14 Jan 2003 11:12:58 -0800
thanks to the both of you. !!


From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: [xsl] How to set nodeset to variable
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


..........................................................
Email: arisuu@xxxxxxxxxxx
Cell: (650) 483-8164
Work: (212) 201-0881
..........................................................

_________________________________________________________________
MSN 8: advanced junk mail protection and 2 months FREE*. http://join.msn.com/?page=features/junkmail



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



Current Thread