Re: Required item type of first operand of '/' is node
The following template: <xsl:template match="c:*"> <xsl:variable name="name" select="local-name()"/> <xsl:apply-templates select="//c:smart-lookup-list/$name/description/node()"/>
Using a key might be more efficient but I would need to see some more context to suggest one.
Martin Honnen http://msmvps.com/blogs/martin_honnen/
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format