XSLT: Need to concatenate strings in loop and hold them for later use

Please support our XML, XSLT and XPATH advertiser: Intel Parallel Studio Home
Reply

Join Date: Jun 2008
Posts: 3
Reputation: sandeepbhutani is an unknown quantity at this point 
Solved Threads: 1
sandeepbhutani sandeepbhutani is offline Offline
Newbie Poster

XSLT: Need to concatenate strings in loop and hold them for later use

 
0
  #1
Jan 9th, 2009
Hi,

I am making some loops using xsl:for-each.

Now I want to concatenate strings of each iteration to the previous iteration results.

And want to keep it in some variable for later use.



e.g.:

for each iteration suppose i get a,b,c. Now I want to put them in a variable as a_b_c.

How can I achieve this?
--
Sandeep Bhutani
http://net4techies.somee.com
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 95
Reputation: fpmurphy is an unknown quantity at this point 
Solved Threads: 5
fpmurphy fpmurphy is offline Offline
Junior Poster in Training

Re: XSLT: Need to concatenate strings in loop and hold them for later use

 
0
  #2
Jan 12th, 2009
variables in XSLT are immutable. See http://www.dpawson.co.uk/xsl/sect2/N8090.html for more information.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the XML, XSLT and XPATH Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC