> -----Original Message----- > From: Matthias Brunner [mailto:[EMAIL PROTECTED] > Sent: Sunday, 9 March 2003 02:23
> how do I set XSL parameters in the sitemap? > This does not seem to be possible: > > <map:transform src="my.xsl" type="xslt"> > <map:parameter name="noImgTags" value="true()"/> > </map:transform> That should work. You will need to have the parameter declared in your xslt as well, as a child of the style-sheet element: <xsl:param name="noImgTags" select="false()"/> What is the result? Do you get an error message? Or does $noImgTags = false()? BTW, though this isn't your problem, I would guess the parameter is passed to your xslt as a string, which means that ANY non-null value would evaluate as true() in your xslt: http://www.w3.org/TR/xpath#function-boolean In other words, in xpath, even 'false()'=true() :-) Cheers Con --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]