[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL For-Each Help!
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>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|