I am processing a set of nodes - but I am checking for a specific one inside the template with an if.
Then if the record is not found - I need to display a message, trouble is it gives this message for every node which does not match. I just want to display this once, hence my need to set a parameter indicating the message has already been output.
I have tried matching my template better by using something like
<xsl:template match="//FOLDER/ORDER[contains($orderID,@orderNumber)]">
where $orderID is set via ASP.
to check for the matching order number, but it seems we cannot use parameters in that type of XPath expression.
So, I would like to be able to reset the value of a param - is there any way to do this? I can't find any reference to it.
<bb/>
Then if the record is not found - I need to display a message, trouble is it gives this message for every node which does not match. I just want to display this once, hence my need to set a parameter indicating the message has already been output.
I have tried matching my template better by using something like
<xsl:template match="//FOLDER/ORDER[contains($orderID,@orderNumber)]">
where $orderID is set via ASP.
to check for the matching order number, but it seems we cannot use parameters in that type of XPath expression.
So, I would like to be able to reset the value of a param - is there any way to do this? I can't find any reference to it.
<bb/>