My headache since this morning, and the more I try I feel that I am both way over my head and too new to this to solve me problem.
My problem: Right now I have 1 itemset and comparing ancestor id's for matches. I am going to have 3 itemsets and need to used the first match i backwards direction towards the startnode.
First occurance from 3 itemsets
My headache since this morning, and the more I try I feel that I am both way over my head and too new to this to solve me problem.
My problem: Right now I have 1 itemset and comparing ancestor id's for matches. I am going to have 3 itemsets and need to used the first match i backwards direction towards the startnode.
What I have so far:
<!-- Array | Categories with 24h delivery -->
<xsl:variable name="delivery_24">
<Item>Cat1</Item>
<Item>Cat2</Item>
</xsl:variable>
<xsl:variable name="holder24" select="msxsl:node-set($delivery_24)" />
<!-- end of Array -->
<!-- Array | Categories with 48h delivery -->
<xsl:variable name="delivery_48">
<Item>Cat3</Item>
<Item>Cat4</Item>
</xsl:variable>
<xsl:variable name="holder48" select="msxsl:node-set($delivery_48)" />
<!-- end of Array -->
<!-- Array | Categories with 72h delivery -->
<xsl:variable name="delivery_72">
<Item>Cat5</Item>
<Item>Cat6</Item>
</xsl:variable>
<xsl:variable name="holder24" select="msxsl:node-set($delivery_72)" />
<!-- end of Array -->
<xsl:variable name="CurrentCategory" select="shop:GetCurrentCategory()" />
<xsl:for-each select="$CurrentCategory/ancestor::*[(normalize-space(id) = normalize-space($holder24/Item))]">
<!-- TELL WHAT ITEMSET -->
</xsl:for-each>
is working on a reply...