xsl-list
[Top] [All Lists]

solution: pass parameters to xsl

2003-01-26 15:01:46
Hy,

found the solution for my problem to pass the url request parameters to my xsl 
stylesheet.
After 2 hours of searching in different maillists, boards and search-engines I 
had a look at my local Cocoon doc and found the answer.

I just have to enable the xslt-with-parameters option in my sitemap and can set 
up a xsl:param with the same name as the url request parameter.
Then I have to check the value of that parameter with a simple:

<xsl:if test="($lang)='1' ">
...

And that's it.

Sorry for my hasty cry for help :-)

Homer30


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>