Subject: Re: [xsl] XSLT test of xsl variable problem From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 3 Nov 2004 15:14:15 GMT |
The if that tests whether or not the value of testvar matches the string "deployment-version": <xsl:if test="deployment-version=$testvar"> No it tests if the value of $testvar is equal to the string value of the <deployment-version> element child of the current node. <xsl:if test="'deployment-version'=$testvar"> tests against the string 'deployment-version' David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. 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 ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XSLT test of xsl variable pro, Ann Marie Rubin | Thread | Re: [xsl] XSLT test of xsl variable, David Carlisle |
[xsl] XSLT test of xsl variable pro, Ann Marie Rubin | Date | Re: [xsl] XSLT test of xsl variable, David Carlisle |
Month |