|
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Can I use variables in locati, Chris Ward | Thread | Re: [xsl] Can I use variables in lo, David Carlisle |
| RE: [xsl] Getting metadata values f, Passin, Tom | Date | Re: [xsl] Can I use variables in lo, David Carlisle |
| Month |