[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] Passing arrays as parameters
Subject: Re: [xsl] Passing arrays as parameters From: Richard Lewis <richard.lewis@xxxxxxxxx> Date: Wed, 21 Apr 2004 14:27:58 +0100 |
On Wednesday 21 April 2004 14:09, Emmanuil Batsis (Manos) wrote: > Michael L wrote: > > I was just wondering if it is possible to send an array as a paramter to > > a XSL file. And then cycle through the array in the XSL code? > > You cannot "cycle through" in XSLT using something like a for loop. > Although you dont say what exactly the array is, i'd suggest passing it > as a single string where array members are seperated by a certain > character, then use a recursive template to process that using string > functions to seperate the part you want to use from the part you want to > forward to the next 'iteration'. > > hth, Note also SAXON's tokenize() function <http://saxon.sourceforge.net/saxon7.9.1/extensions.html#tokenize> Richard
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Passing arrays as paramet, M. David Peterson | Thread | RE: [xsl] Passing arrays as paramet, Michael Kay |
Re: [xsl] Passing arrays as paramet, David Carlisle | Date | RE: [xsl] Ideal XML Site tree layou, John Hamman |
Month |