The Select statement below is what I want to do. And it works great as long as all three parameters have some sort of values...
<xsl:for-each select="list/records[A=$param_A and B=$param_B and C=$param_C]">
(Code to show filtered output here)
</xsl:for-each>
...but when a parameter has the value * (wildcard) then it breaks. Instead of showing filtered output where C can be anything, it shows nothing.
The Select statement works if I hardcode the wildcard character like this:
<xsl:for-each select="list/records[A=$param_A and B=$param_B and C=*]">
In my real code, the parameter values are assigned dynamically. Is there any way to get a filtered output like the above Select statement, where wildcards or similar can be used?