Subject: Re: [xsl] XSL For-Each Help! From: Rusty Morton <rusty_morton@xxxxxxxxx> Date: Mon, 17 Jul 2006 16:06:03 -0700 (PDT) |
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>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSL For-Each Help!, Wendell Piez | Thread | Re: [xsl] XSL For-Each Help!, Wendell Piez |
Re: [xsl] Re: Keeping a running tot, Andrew Franz | Date | Re: [xsl] Use document() function t, G. Ken Holman |
Month |