Hi Wendell!
Thanks so much for the help, I attempted your
suggestion, but I am getting an empty string returned
with no results???? By the way I am using XSLT v1.0
---I implemented the key as follows----:
<xsl:key name="itemsbydistributor"
match="ItemAsSold[CanOrderFlag='true'][CanShipFlag =
'true']" use="DistributorCode"/>
--then down within the XSL file i have----:
<xsl:variable name="distributorVal">
<!-- only process distributorCodes if canShip and
canOrder are both true -->
<xsl:for-each
select="//DistributorCode[generate-id(parent::ItemAsSold)=generate-id(key('itemsbydistributor',current())[1])
]">
<xsl:value-ofselect="DistributorCode"/>
<xsl:text>,</xsl:text>
</xsl:for-each>
</xsl:variable>
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--