I'm trying to set up a multiple value filter in xsl for an xml file containing book info. So, for example, I only want to output data when UsedPrice<5.00 and Media=Paperback.
I've tried <xsl:for-next select="ProductInfo/Details[number(substring-after(UsedPrice,'$'))>5.00]>
that works fine.
But when I try to add the second condition it fails
<xsl:for-each select="ProductInfo/Details[number(substring-after(UsedPrice,'$'))>5.00 | Media='Paperback']">
What am I doing wrong?
Thanks
I've tried <xsl:for-next select="ProductInfo/Details[number(substring-after(UsedPrice,'$'))>5.00]>
that works fine.
But when I try to add the second condition it fails
<xsl:for-each select="ProductInfo/Details[number(substring-after(UsedPrice,'$'))>5.00 | Media='Paperback']">
What am I doing wrong?
Thanks