> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 29, 2001 10:52 AM
> To: [EMAIL PROTECTED]
> Subject: little off-topic / setting value of a variable as consequence
> of some tests
> 
> 
> hi all,
>       sorry that it's little off-topic, but i need urgent 
> help and i know
> that this list is very active
> 
> i have a very little problem..as said in the subject
> 
> i must set the value of a variable as consequence of some tests
> 
> here is a sample code...
> 
> 
>  <xsl:if test="starts-with(./@name,'mar')">
> 
>      <!-- here i must set the value of the variable...but i 
> don't know how..
> -->
>  </xsl:if>
>  
>  <xsl:otherwise>
>      <!-- value of hte variable = null -->
> 
>  </xsl:otherwise>
> 
> 
> so, i was thinking that i can write, before this xsl code
> 
>   <xsl:variable name="myvariable" select="" />
> 
> but then, i am missing how can i change the value of that 
> variable later on
You can't change the value of varialble later!!! You have to set the value
between <xsl:if></xsl:if>

> 
> 
> can anyone give me a hint???
> 
> thanx in advance and regards
>       marco
> 

Reply via email to