This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Passing parameter to xsl stylesheet
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl]Passing parameter to xsl stylesheet
- From: Francis Norton <francis at redrice dot com>
- Date: Wed, 29 Aug 2001 10:33:41 +0100
- References: <002601c1301b$9b4f99e0$600e3d0a@spike.com.au>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi Antony,
Antony Suryadinata wrote:
>
> Is it possible to pass a document or nodelist to a parameter in xsl stylesheet? If it is, could you please show me how?
>
Since you mention passing the nodelist into a stylesheet rather than a
template, it may be that you want to pass a nodelist into a global
parameter. This issue is not addressed by the FAQ or even the spec.
All I can tell you is that yes, this is possible provided you're using
MSXML (see
http://www.biglist.com/lists/xsl-list/archives/200108/msg00429.html for
a demo). I don't know the answer for other processors, though I
certainly would like to know.
Francis.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list