Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Passing distinct values as parameters >Thread Next - Re: Passing distinct values as parameters Re: Passing distinct values as parametersTo: NULL Date: 11/17/2007 1:54:00 PM
davidcl64@g... wrote:
> But I would like to automate this to pull the list directly from the
> incoming XML. When I use the following, I am getting a list of
> distinct nodes, but I am unable to make the comparison work:
>
> <xsl:for-each select="//LOCATION[generate-id()=generate-
> id(key('distinct-segcode',.))]">
> <xsl:call-template name="writeCount">
> <xsl:with-param name="location"><xsl:value-of select="."/
>> </xsl:with-param>
Can you provide a minimal but complete XML input and stylesheet and tell
us which XSLT processor you use?
It is hard to guess where things go wrong without seeing the XML input.
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
