Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have the following xslt. It works fine ie gives me exactly the content i need. The only issue is that the Position() count is incorrect. So i need a way to combine all these statements into one. Just a syntax issue. Any thoughts?
<xsl:for-each select="$home/descendant::node [@nodeTypeAlias = 'productStyle']"> <xsl:if test="contains(concat(',',data[@alias='priceRange'],','),concat(',',$priceRange,','))"> <xsl:if test="contains(concat(',',data[@alias='productStyleCategories'],','),concat(',',$categoryId,','))">
You should be able to just throw them in your xpath:
<xsl:for-each select="$home/descendant::node [@nodeTypeAlias = 'productStyle'][contains(.....)][contains(.....)]">
thanks once again. it worked.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to filter xslt foreach
I have the following xslt. It works fine ie gives me exactly the content i need. The only issue is that the Position() count is incorrect. So i need a way to combine all these statements into one. Just a syntax issue. Any thoughts?
You should be able to just throw them in your xpath:
thanks once again. it worked.
is working on a reply...