Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: post into xslt to change the outcome

From: "Dimitre Novatchev" <dimitren@---.---.-->
To: 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 




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent