![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: 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 8:05:00 AM On Jul 6, 4:40 am, Martin Honnen <mahotr...@yahoo.de> wrote: > 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/ I'm sure I *do* misunderstand. Do you have any suggestions for how I could achieve what I want within the existing environment? Thanks for your assistance, Mike | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
