Subject: Re: [xsl] Testing the value of a variable From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx> Date: 01 Jan 2006 14:09:05 +0000 |
>>>>> "Clare" == Clare Birch <clarebirch@xxxxxxxxxx> writes: Clare> Neither of these tests return true and I dont understand Clare> why. If anyone has any ideas Id be grateful, Clare> <xso:if test="'$A'='34'"> This tests if the string "$A" is equal to the string "34", which it manifestly isn't. Clare> <xso:if test="A='34'"> This tests if there is an A child element of the context node that has the string value "34". <xsl:if test="$A = '34'"> will evaluate to true(). -- Colin Adams Preston Lancashire
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Testing the value of a variab, Clare Birch | Thread | [xsl] XSL-List Guidelines, B Tommie Usdin |
[xsl] Testing the value of a variab, Clare Birch | Date | Re: [xsl] extended xhtml attribute , Juergen Donnerstag |
Month |