Page 1 of 1

append values to a variable xsl:variable

Posted: Thu Oct 08, 2009 1:16 pm
by AdZy
Hi..

I need to append a value to a variable, and can't find the way how to..

i.e.

Inital value of "fullname": "ABC,"
append "DEF,"
New value of "fullname": "ABC,DEF"


<xsl:variable name="fullname"
select="append to fullname.."/>

Thanks!
AdZy

Re: append values to a variable xsl:variable

Posted: Thu Oct 08, 2009 3:09 pm
by sorin_ristache
Hello,

You cannot change the value of a variable in XSLT. You have to create a new variable based on the value of the first variable (fullname).


Regards,
Sorin

Re: append values to a variable xsl:variable

Posted: Thu Oct 08, 2009 11:55 pm
by AdZy
Thats why I could not get it woking :-)

Thank you Sorin!