Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: XSL:Count on a passed parameter XSL:Count on a passed parameterTo: NULL Date: 7/29/2008 3:19:00 PM I am building an XML string and passing it as a parameter to the XSL style sheet. Currently I have something like: Identical Errors - <xsl:value-of select="count($IdenticalList/root/list/sku)"/> Where $IdenticalList is the XML string that is passed in. The above is not right as when I pass in different number of nodes on the XML string it always reports the same number. I think the count() function is getting confused and some how referenceing the XML file that is being processed and not the XML string that is passed as a parameter. The text after the $IdenticalList is an XPath expression which should give me a node set. I want count to work on the parameter string and not the file. Any suggestions? Thank you. Kevin | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
