Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Beginner working around variables >Thread Next - Re: Beginner working around variables RE: Beginner working around variablesTo: NULL Date: 8/3/2007 12:20:00 AM
The other way around:
<xsl:for-each select='key'>
<xsl:variable name="MyName">
<xsl:if test='. = "Name"'>
<xsl:value-of select='../string[position() = 1]'/>
</xsl:if>
</xsl:variable>
</xsl:for-each>
ML
---
Matija Lah, SQL Server MVP
http://milambda.blogspot.com/
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
