This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Passing a variable number of parameters to a named-template
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Passing a variable number of parameters to a named-template
- From: "Kaganovich, Yevgeniy (Eugene)" <ykaganovich at netfish dot com>
- Date: Thu, 18 Jan 2001 17:00:23 -0800
- Reply-To: xsl-list at lists dot mulberrytech dot com
: What I would like to do is duplicate what programming
: languages have: pass
: a number of parameters (or some similar mechanism) to a
: template without
: knowing how many parameters were actually passed. For
: example, JavaScript
: has the arguments array and Java allows you to pass an array of
: objects. Can I implement something similar in XSL? I did a
You can pass a nodeset, which can be treated as the XML equivalent of an
array.
- Eugene
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list