![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: passing parameters for predicate filter passing parameters for predicate filterTo: NULL Date: 3/2/2004 7:29:00 AM I'm calling a template and passing it parameters for it to use in a
predicate filter. Bottomline, nothing happens: no errors and no output. When
I replace the variables with literals in just the filter, it works just
fine.
Here's the beginning of the called template where I'm attempting to use
variables in the filter:
<xsl:template name="photo_viewer">
<xsl:param name="sport_id">s_01</xsl:param>
<xsl:param name="current_day">monday</xsl:param>
<xsl:for-each select="sport[@id='{$sport_id}']/pict[day =
'{$current_day}']"> ******* this isn't working
<xsl:variable name="current_position" select="position()"/>
<xsl:variable name="last_position" select="last()"/>
<redirect:write
file="../html/{$sport_id}_{$current_day}_{$current_position}.html">
<html lang="en-us">
Any thoughts?
Thanks in advance,
David
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
