Subject: solution: pass parameters to xsl
From: "Hubert Holtz" <Turnhose_alt@xxxxxxx>
Date: Sun, 26 Jan 2003 23:01:46 +0100
|
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
|