I have xml with a field "UsedPrice" which has values like $5.25 and $9.89. I need to select with a filter that returns only items with prices higher than a threshhold, say $3.00. I will want to combine (and) the price filter with other filters, such as "Media="Paperback", etc.
Here's what I've tried.
<xsl:for-next select="ProductInfo/Details[number(substring-after(UsedPrice,'$'))>3.00]">
and
<xsl:for-next select="ProductInfo/Details[number(substring-after(UsedPrice,'$'))>3.00 and Media="Paperback"]">
I get the following unhelpful error:
"We encountered an error processing your request. Please retry."
Anybody got suggestions or see what I did wrong?
Thanks.
Here's what I've tried.
<xsl:for-next select="ProductInfo/Details[number(substring-after(UsedPrice,'$'))>3.00]">
and
<xsl:for-next select="ProductInfo/Details[number(substring-after(UsedPrice,'$'))>3.00 and Media="Paperback"]">
I get the following unhelpful error:
"We encountered an error processing your request. Please retry."
Anybody got suggestions or see what I did wrong?
Thanks.