Using xsl:variable in SelectParameters for SPDataSource
Posted on 2011-02-18
I have a dataviewwebpart implemented in SPD 2007. The SPDatasource for this webpart is a sharepoint list.
In the xsl sytlesheet for the DVWP, I have an xsl:variable that is used to store the result of a calculation based upon values of xsl:param values obtained from the Query string. In other words, I have a number of parameter bindings to query string parameters.
My question is I now need to use this calculated xsl:variable as a selectparameter for the SPDatasource. I am familiar with how to use the bound xsl:param themselves as selectparameters but I cannot find anything about using an xsl:variable.
Any help would be greatly appreciated.