I've created an activity/task that exports all products into an XML using XSLT. In the activity I've mapped EcomProducts.
DW returns the groupname, but what I want is the groupname + all parent groups ... Like a breadcrumb. Is that possible?
Perhaps I should map more than just EcomProducts when creating the activity?
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl">
<xsl:output method="xml" indent="yes" cdata-section-elements="column" />
<xsl:template match="/">
<products>
<xsl:for-each select="tables/table/item">
<product>
<group>
<xsl:value-of select="column[@columnName = 'Groups']" />
</group>
</product>
</xsl:for-each>
</products>
</xsl:template>