![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - node-set($variable) just won't allow any results - what do I need to change? >Thread Next - Re: node-set($variable) just won't allow any results - what do I need to change? Re: node-set($variable) just won't allow any results - what do I need to change?To: NULL Date: 7/6/2007 1:40:00 PM ParanoidMike wrote: > <xsl:variable name="ThreatXPath"> > <xsl:value-of select="concat('/ThreatModel/Threats/', > $ThreatCategory, 's/Threats/', $ThreatCategory)"/> > </xsl:variable> > [[2]] Here's the call I'd *LIKE* to make in that XSL: > > <xsl:for-each select="msxsl:node-set($ThreatXPath)[Risk = > $RiskResponse]" > I think you misunderstand what the node-set function is good for. It converts a result tree fragment to a node-set. But your variable $ThreatXPath is not a result tree fragment, it is a string with an XPath expression. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
