| | |
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
![]() |
•
•
Join Date: Jun 2008
Posts: 3
Reputation:
Solved Threads: 1
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?
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?
•
•
Join Date: Oct 2008
Posts: 95
Reputation:
Solved Threads: 5
variables in XSLT are immutable. See http://www.dpawson.co.uk/xsl/sect2/N8090.html for more information.
![]() |
Other Threads in the XML, XSLT and XPATH Forum
- Previous Thread: XPath for web.xml
- Next Thread: Refresh XML/XSL fails because XML page being updated
| Thread Tools | Search this Thread |
api blogger blogging code delete development dynamiccreationofnvariablesinxslt error firstthreecharacterofastringrequired flipbook gdata google html include java link linspire linux microsoft news node openoffice overwrite precedence programming rss standards swf template transform variable w3c web xml xmlnotloading xmlonserver xsl xslt





