Re: [xsl] Can I use variables in location paths?

Subject: Re: [xsl] Can I use variables in location paths?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 27 May 2003 14:36:15 +0100


                 What I'd like to do is this (note use of variable)
		

		<xsl:variable name="Scenario">BASECASE</xsl:variable>
		<xsl:variable name="Date">20030408</xsl:variable>

		<xsl:for-each select="PositionFactorLevels/Scenario[
		@Name='${Scenario}' ]/F


The Xpath syntax for a variable reference is $Scenario not ${Scenario}

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread