You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Gary L Peskin <ga...@firstech.com> on 2000/11/01 10:29:45 UTC

Re: Setting a NodeList as argument for xsl:param

Mattias Bogeblad wrote:
> I want to pass a NodeList-object to my stylesheet using
> processor.setStylesheetParam(...) and sending in the nodelist
> as the argument(possibly as an XObject?).
> It works ok but how do I use it in the stylesheet? I guess I have to state
> that it is an nodelist so I can use
> the ordinary xslt-instructions later.
> Has anyone done this or know anything about it?

Mattias --

Just use the variable to represent the node-list, like in a select:

	<xsl:copy-of select="$my-param/some-element"/>

Is this what you're asking?

Gary