Hi All,
I've been banging my head off my keyboard for hours & am stumped - can you offer any assistance?
I have a simple xmlpackage & this line isn't working :-
If I hard code the value like this it works :-C#/VB.NET Code:<xsl:for-each select="/root/ProductCategories/Product[PID = $ProdID]">
(I know that $ProdID = 409)C#/VB.NET Code:<xsl:for-each select="/root/ProductCategories/Product[PID = '409']">
I've tried all of the following & none of them work :-
C#/VB.NET Code:<xsl:for-each select="/root/ProductCategories/Product[PID = $ProdID]">
<xsl:for-each select="/root/ProductCategories/Product[PID = '$ProdID']">
<xsl:for-each select="/root/ProductCategories/Product[PID = '{$ProdID}']">
<xsl:for-each select="/root/ProductCategories/Product[PID = 'ProdID']">
What am I missing?
TTFN
BFG



Reply With Quote