[xsl] how to pass an array of values as a parameter into XSL and loop over them

Subject: [xsl] how to pass an array of values as a parameter into XSL and loop over them
From: "Web Developer" <armyofda12mnkeys@xxxxxxxxx>
Date: Fri, 17 Nov 2006 13:45:11 -0500
hello all,

I was hoping to do something on command line like...
A. java net.sf..... jsFiles="'../js/bleh.js' 'test.js'
'../js/libs/prototype.js'"
or
B. java net.sf..... jsFiles="../js/bleh.js" jsFiles="test.js"
jsFiles="../js/libs/prototype.js"

then i would loop through the $jsFiles parameter in XSL and assign
<script type="text/javascript "src="${jsFiles[i]}"></script>

I wasnt sure how to set up something like this up...
My only thought, although it pains for me to even think about it, is
to do some kind of recursion on the 1 string in option A.

anyone attempt something like this before/any ideas?

Thanks,
Arian

PS is there anyway to get xsl-list Digest emails but also get your own
topic threads delivered separately, so i can get answer immediately
when it relates to my question?
My email has too many lists subscribed to as it is :)

Thanks,
Arian

Current Thread