Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - post into xslt to change the outcome >Thread Next - Re: post into xslt to change the outcome Re: post into xslt to change the outcomeTo: NULL Date: 11/1/2006 6:39:00 AM <nickjtew@g...> wrote in message news:1162304690.608663.178400@e...... > Hi, > > I need to change the output made by my xsl file depending on what ID is > passed by the user in the browser. > > The user will need to click links, eg, > http://xxx.com/blah.xml?articleid=245 > > The itemid will then need to be passed to the xsl, and only the article > with that id will be shown. > > I've searched the web for some answers, but i cant find anything. Im > starting to believe this cant be done. Is there an alternative if it > cannot be done? This can be done with a little bit of scripting (such as with JavaScript) and some additional information. Every XSLT processor has its own, implementation way of passing outside parameters to the stylesheet. Read the vendour's documentation. For example, for MSXML this will be done using the IXSLProcessor.AddParameter() method. Cheers, Dimitre Novatchev | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
