Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Is it possible to have array like thing in xslt [Thread Next] Re: Is it possible to have array like thing in xsltTo: NULL Date: 1/10/2009 10:25:00 AM "Manish Bafna" <ManishBafna@d...> wrote in message news:297F6002-8BC2-4046-9B20-4A9070065EAD@m...... > Hi Martin, > I want to pass series of values say about 31 values to a template as a > parameter.I would be grateful if somebody can suggest how can we have > array > like thing in XSLT.Or is there any other way to do same thing?I want to > achieve this using just xslt and javascript > Thanks in advance for replying(as always) > With Warm Regards. > Manish Bafna. > Although you addressed your question to Martin I'll suggest an answer. Firstly, if you want cross browser, then it's best to use a ready built library. zXml or Sarissa for example should cope with this. You'll have to study the documentation on how to add parameters to a transformation. If you're using MSXML (IE only) then it has an addParam method: http://msdn.microsoft.com/en-us/library/system.xml.xsl.xsltargumentlist.addparam.aspx You can pass a nodeset to simulate an array or a serialised object. -- Joe Fawcett (MVP - XML) http://joe.fawcett.name | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
